diff options
Diffstat (limited to 'dev-vcs/bzr-webdav/files')
-rw-r--r-- | dev-vcs/bzr-webdav/files/bzr_webdav-ds-error400.patch | 12 |
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 |