This project is read-only.

304 notmodified should not contain Content-Lenght header


In webserver V1.1 HttpModules.FileModule.Process the content length is given a value even if the status code is 304 (NotModified) According to RFC 2616 the 304 response should not contain a body and thus not contain a Content-Length header.
Sending a 304 status code with a content length header and the content length header is set to a value > 0, may cause problems in e.g. safari browsers.