From ca9627e70852f6b2e835660df870fe3ab405882d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 1 Sep 2019 00:00:32 +0200 Subject: Initial import --- dev-vcs/bzr-webdav/files/bzr_webdav-ds-error400.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dev-vcs/bzr-webdav/files/bzr_webdav-ds-error400.patch (limited to 'dev-vcs/bzr-webdav/files/bzr_webdav-ds-error400.patch') 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 -- cgit v1.2.3