Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Silbe <sascha-pgp@silbe.org>2013-06-22 07:51:38 (GMT)
committer Sascha Silbe <sascha-pgp@silbe.org>2013-06-22 07:51:38 (GMT)
commit0a344a41852f14deb3f8023a892f205344bafc01 (patch)
tree600c001e0a8fd74a8d380c17e9b3b4382d8f5263
parent5c08c4d983ab7fa703573cbe2077ee8f95370e67 (diff)
Fix compatibility with HTTP/1.1 browsers
PyWebDAV internally makes some assumptions that are only true if we're an HTTP/1.1 server. So just turn us into one; it shouldn't hurt.
-rwxr-xr-xjournal2webdav2
1 files changed, 2 insertions, 0 deletions
diff --git a/journal2webdav b/journal2webdav
index 2eef7bc..3de7e63 100755
--- a/journal2webdav
+++ b/journal2webdav
@@ -460,6 +460,8 @@ def setupDummyConfig(**kw):
class RequestHandler(DAVAuthHandler):
+ protocol_version = 'HTTP/1.1'
+
if 'ALLPROP_RECURSE' in _PYWEBDAV_BUGS or 'PROPFIND_NS' in _PYWEBDAV_BUGS:
# pylint: disable=W0402,W0404,C0324,W0612
def do_PROPFIND(self):