tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hallyday1999 <>
Subject Re: http response 304 with content
Date Wed, 16 Nov 2005 13:12:32 GMT
Hello Mark,
  Sorry, but the bug you quote mentions errors with the HTTP-response headers.
  My problem is an 304 response with sent content (=content-length >0):
  the content is e.g. the requested JPG file.
  kind regards 

Mark Thomas <> schrieb:
  Axel Bartsch wrote:
> I am testing with Apache 2.0.49 and tomcat 5.0.28
> In my Ethereal Trace (Ethereal running on browser PC) (Tracer:browser client to server)
I sometimes see HTTP/1.1 responses 304 (Not Modified).
> A message body (content>0) is included in this response.
> According to HTTP protocol a 304 response MUST NOT contain any content:
> from HTTP/1.1 protocol (RFC 2616):
> If the client has performed a conditional GET request and access is allowed, but the
document has not been modified, the server SHOULD respond with this status code. The 304 response
MUST NOT contain a message-body, and thus is always terminated by the first empty line after
the header fields. 
> Why does this happen?

This is a known issue. See

To unsubscribe, e-mail:
For additional commands, e-mail:


Gesendet von Yahoo! Mail - Jetzt mit 1GB kostenlosem Speicher
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message