Posted by Hermann on 12/17/06 08:03
The standard says "The 304 response MUST NOT contain a message-body,
and thus is always terminated by the first empty line after the header
fields"
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
So in my PHP script I do the time calculations and then I simply do:
header('HTTP/1.1 304 Not Modified') ;
exit ;
But when I retrieve the responce as raw text I see that the responce
does have a body. It is just 8 bytes of binary data and I dont know how
to prevent that from being sent after the headers.
Any idea??
[Back to original message]
|