summaryrefslogtreecommitdiffstats
path: root/dev-vcs/bzr-webdav/files/bzr_webdav-ds-error400.patch
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /dev-vcs/bzr-webdav/files/bzr_webdav-ds-error400.patch
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'dev-vcs/bzr-webdav/files/bzr_webdav-ds-error400.patch')
-rw-r--r--dev-vcs/bzr-webdav/files/bzr_webdav-ds-error400.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-vcs/bzr-webdav/files/bzr_webdav-ds-error400.patch b/dev-vcs/bzr-webdav/files/bzr_webdav-ds-error400.patch
new file mode 100644
index 0000000..9f4061a
--- /dev/null
+++ b/dev-vcs/bzr-webdav/files/bzr_webdav-ds-error400.patch
@@ -0,0 +1,12 @@
+--- webdav/webdav.py 2012-07-14 22:33:22.000000000 +0200
++++ empty-put-request-bug/webdav.py 2012-07-14 23:49:02.000000000 +0200
+@@ -798,6 +797,9 @@
+
+ def append_bytes(self, relpath, bytes, mode=None):
+ """See Transport.append_bytes"""
++ if not bytes:
++ return
++
+ if self._range_hint is not None:
+ # TODO: We reuse the _range_hint handled by bzr core,
+ # unless someone can show me a server implementing