Re: Content-Length for gzipped response

Diwakar Shetty <diwakar.shetty@oracle.com> writes:

> Suppose a HTTP server compresses a response using "gzip".
>
> Then is "Content-Length" response header required to be sent to the browser
> ?
>
> I checked with IE and Mozilla and they were able to uncompress it without
> the presence of "Content-Length" header in the response.

See the rules in section 4.4 of RFC 2616:

  http://www.apps.ietf.org/rfc/rfc2616.html#sec-4.4

-- 
Scott Lawrence        
  http://skrb.org/scott/
  [ <lawrence@world.std.com> is deprecated ]

Received on Monday, 28 July 2003 11:08:04 UTC