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=15890>.
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=15890

Invalid If-Modified-Since leads to empty response.

           Summary: Invalid If-Modified-Since leads to empty response.
           Product: Tomcat 4
           Version: 4.1.17
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:Coyote HTTP/1.1
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


This was observed for static content, so the bug may be in 
org.apache.catalina.servlets.DefaultServlet rather than the connector itself.

When a client provides an invalid If-Modified-Since header (eg Java 1.3 
URLConnection class on a non-English locale does this; see Sun bug #4397096), 
the response is always empty, with a 200 response code. I'd expect an invalid 
If-Modified-Since header to be ignored and the response returned normally (in 
this case it should have been about 15k worth).

Example below (Japanese character for Thurs replaced with [MOKU] since it gets 
corrupted otherwise).


GET /altio/altioClient.js HTTP/1.1
Cookie: JSESSIONID=344928E8EB29CFC13A93D232FDDF0834
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; .NET CLR 
1.0.3705)
X-Altio-Proxy: 41710
Accept-Language: en-us,ja;q=0.5
Host: altiojr:8080
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
If-Modified-Since: [MOKU], 01 1 1970 00:00:00 GMT

HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 0
Date: Wed, 08 Jan 2003 15:32:56 GMT
Server: Apache Coyote/1.0

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to