httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 40953] Should not send any data in 304 reply from cgi
Date Fri, 29 Feb 2008 10:43:28 GMT

Edward Crichton <> changed:

           What    |Removed                     |Added
                 CC|                            |
           Severity|enhancement                 |minor

--- Comment #1 from Edward Crichton <>  2008-02-29 02:43:27 ---
According to RFC 2616:
"All 1xx (informational), 204 (no content), and 304 (not modified) responses
   MUST NOT include a message-body. "

I have just found that Safari - including the latest version - freezes when it
gets content for these with other requests pending - i.e. it gets stuck.

Example response:

HTTP/1.1 204 No Content
Date: Fri, 29 Feb 2008 09:45:53 GMT
Server: Apache/2.2.4 (Ubuntu) mod_jk/1.2.23
Content-Length: 8
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html;charset=ISO-8859-1

(The 8 bytes is just whitespace from formatting in a jsp.)

The response is clearly incorrect.

The safest thing for Apache to do would be to set the content-length to 0 and
discard any contents up to the advertised content-length from the

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

View raw message