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 16593] PUT/If-match (etag) handling seems to be broken
Date Tue, 11 Mar 2008 20:41:31 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=16593


Chris Darroch <chrisd@pearsoncmg.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #5 from Chris Darroch <chrisd@pearsoncmg.com>  2008-03-11 13:41:31 PST ---
Fixed in trunk (607466, r607472, r607838) and backported to 2.2.8 (r609113) by
changes to fix PR 38034.  Sample successful session below:

GET /uploads/foo.txt HTTP/1.0

HTTP/1.1 200 OK
Date: Tue, 11 Mar 2008 20:10:29 GMT
Server: Apache/2.3.0-dev (Unix) DAV/2
Last-Modified: Tue, 11 Mar 2008 20:09:46 GMT
ETag: "bec78d-1f-4482ee6ea848b"
Accept-Ranges: bytes
Content-Length: 31
Connection: close
Content-Type: text/plain

This is the original content.

PUT /uploads/foo.txt HTTP/1.0
Content-Length: 30
If-Match: "bec78d-1f-4482ee6ea848b"

This is the revised content.
HTTP/1.1 204 No Content
Date: Tue, 11 Mar 2008 20:10:45 GMT
Server: Apache/2.3.0-dev (Unix) DAV/2
Content-Length: 0
Connection: close
Content-Type: text/plain

GET /uploads/foo.txt HTTP/1.0

HTTP/1.1 200 OK
Date: Tue, 11 Mar 2008 20:11:05 GMT
Server: Apache/2.3.0-dev (Unix) DAV/2
Last-Modified: Tue, 11 Mar 2008 20:11:01 GMT
ETag: "bec78d-1e-4482eeb5f5946"
Accept-Ranges: bytes
Content-Length: 30
Connection: close
Content-Type: text/plain

This is the revised content.


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

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


Mime
View raw message