Note: The contents of file "getifmodified" is never changed. Test 1: ------- PUT /litmus/getifmodified HTTP/1.1 [body] HTTP/1.1 201 Created Date: Fri, 27 Jul 2007 10:33:21 GMT GET /litmus/getifmodified HTTP/1.1 HTTP/1.1 200 OK Date: Fri, 27 Jul 2007 10:33:21 GMT Last-Modified: Fri, 27 Jul 2007 10:33:21 GMT ETag: W/"19e60b-20-45a19e40" [body] GET /litmus/getifmodified HTTP/1.1 If-None-Match: W/"19e60b-20-45a19e40" HTTP/1.1 200 OK Date: Fri, 27 Jul 2007 10:33:21 GMT Last-Modified: Fri, 27 Jul 2007 10:33:21 GMT ETag: W/"19e60b-20-45a19e40" [body] Notes: All timestamps are equal. The first GET returns a weak etag. In the second GET this weak etag does *not* match, but the same weak etag is returned again, together withthe unchanged body. Test 2: ------- PUT /litmus/getifmodified HTTP/1.1 [body] HTTP/1.1 201 Created Date: Fri, 27 Jul 2007 11:47:00 GMT GET /litmus/getifmodified HTTP/1.1 HTTP/1.1 200 OK Date: Fri, 27 Jul 2007 11:47:00 GMT Last-Modified: Fri, 27 Jul 2007 11:47:00 GMT ETag: W/"19e60b-20-4d063500" [body] # Wait 2 seconds GET /litmus/getifmodified HTTP/1.1 If-None-Match: W/"19e60b-20-4d063500" HTTP/1.1 200 OK Date: Fri, 27 Jul 2007 11:47:02 GMT Last-Modified: Fri, 27 Jul 2007 11:47:00 GMT ETag: "19e60b-20-4d063500" [body] Notes: Compared to test 1, after waiting 2 seconds a strong etag is returned, with the same value as the weak etag.