projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b275fc4
)
doc webdav: match the quotes around ETags
author
P. Christeas
<p_christ@hol.gr>
Fri, 15 Oct 2010 09:27:58 +0000
(12:27 +0300)
committer
P. Christeas
<p_christ@hol.gr>
Fri, 15 Oct 2010 09:27:58 +0000
(12:27 +0300)
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
addons/document_webdav/webdav_server.py
patch
|
blob
|
history
diff --git
a/addons/document_webdav/webdav_server.py
b/addons/document_webdav/webdav_server.py
index
299789b
..
df2c4a8
100644
(file)
--- 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