Hi,

Am Montag 02 August 2004 15:28 schrieb Geoffrey Young:
> > But my point is, for a HEAD request, there is no data so apache should
> > not touch my content-length header. I really dislike to generate the full
> > data for the request and apache throws it away ( and even the I get no
> > Content-Length header ).
>
> for the record, this is fundamentally wrong.  HEAD requests are supposed to
> be identical to GET requests in every way _except_ that there is no message
> body, which means that if a GET request for a specific resource does not
> have a C-L header then a HEAD request for the same resource also _must_ not
> have a C-L header.  at least if you care about RFC compliance.
>

??? I do not know what you mean, my GET request _has_ a content-lenght header! 
For HEAD, I just do not calculate the expencive data for my body.

I just missed the content-length header on HEAD requests that is delivered on 
GET.

> --Geoff

-- 
Boris

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to