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 8760] New: - if-modified-since field in request not handled correctly
Date Fri, 03 May 2002 02:53:36 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8760>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8760

if-modified-since field in request not handled correctly

           Summary: if-modified-since field in request not handled correctly
           Product: Apache httpd-2.0
           Version: 2.0.35
          Platform: PC
               URL: http://www.dawnorchid.com
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ericmao@stanford.edu


There seems to be an error in the handling of If-Modified-Since.

Steps to reproduce:

1. Send the following request to www.dawnorchid.com:

GET / HTTP/1.1
Host: www.dawnorchid.com

Resulting header is

HTTP/1.1 200 OK
Date: Sat, 04 May 2002 02:07:27 GMT
Server: Apache/2.0.35 (Win32) PHP/4.2.0
Last-Modified: Mon, 29 Apr 2002 07:58:14 GMT

2. Send another request for the same page, using the above timestamp in an If-
Modified-Since field.

GET / HTTP/1.1
Host: www.dawnorchid.com
If-Modified-Since: Mon, 29 Apr 2002 07:58:14 GMT

Expected result: a 304 Not Modified response.
Actual result: a 200 OK response with the full HTML page.

If I change the time in the If-Modified-Since field to one second later 
(07:58:15 instead of 07:58:14), the expected 304 Not Modified response is 
returned.

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


Mime
View raw message