summaryrefslogtreecommitdiff
path: root/addons/document_webdav/webdav_server.py
diff options
context:
space:
mode:
authorP. Christeas <p_christ@hol.gr>2010-10-15 12:27:58 +0300
committerP. Christeas <p_christ@hol.gr>2010-10-15 12:27:58 +0300
commit788ed06b80f00953a0623559a03af537e0a34bcf (patch)
tree7bf9d6e32c19b243738ac8bf8e555dbde5bf7334 /addons/document_webdav/webdav_server.py
parentb275fc4601263e58def6d8ff29088e18a6a6b09d (diff)
doc webdav: match the quotes around ETags
In commit e7eede397c8a84, quotes were re-introduced around ETags. At the http "If-Match" header, we have to follow that. bzr revid: p_christ@hol.gr-20101015092758-3wajkzjo0bm5z60g
Diffstat (limited to 'addons/document_webdav/webdav_server.py')
-rw-r--r--addons/document_webdav/webdav_server.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/document_webdav/webdav_server.py b/addons/document_webdav/webdav_server.py
index 299789bec11..df2c4a871f6 100644
--- a/addons/document_webdav/webdav_server.py
+++ b/addons/document_webdav/webdav_server.py
@@ -164,8 +164,6 @@ class DAVHandler(HttpOptions, FixSendError, DAVRequestHandler):
etag = None
for match in self.headers['If-Match'].split(','):
- if match.startswith('"') and match.endswith('"'):
- match = match[1:-1]
if match == '*':
if dc.exists(uri):
test = True