httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] Content-Length for HEAD when using compression?
Date Fri, 15 Feb 2008 22:35:54 GMT
On Fri, Feb 15, 2008 at 4:39 PM, Michael McGlothlin
<> wrote:
> I'm using PHP to dynamically serve images and am using compression on
>  the output. For GET I know that I should make the Content-Length header
>  the size of the compressed data. For HEAD requests do I do the same or
>  do I provide the uncompressed Content-Length? Thanks.

HEAD responses should be identical to GET responses without the content body.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message