httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38034] - PUT If-None-Match: "*" failures
Date Sat, 05 Jan 2008 16:41:27 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38034>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38034





------- Additional Comments From werner.baumann@onlinehome.de  2008-01-05 08:41 -------
Sorry, it's me again.

There seems to be a related bug in the way apache/mod_dav handles conditional
PUT with header If-Unmodified-Since. It will always fail because
ap_meets_conditions does not know the mtime of the resource. This bug will not
show up most of the time as etag is checked first. I only noticed it, because a
bug in davfs2 caused a PUT-request without If-Match-header and with
If-Unmodified-Since-header.

As the interface documentation of ap_meets_conditions in include/http_protocal.h
says, ap_meets_conditions is only ment for GET requests. It can't work with PUT.
So a future revision should either change ap_meets_conditions, as proposed by
Paritosh, or mod_dav should handle conditionals all of it's own (taking into
account that the requirements of WebDAV are quite different in this respect).

Werner


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message