[LRUG] mod_ruby question
Matthew Westcott
matthew.westcott at torchbox.com
Fri Mar 9 06:31:14 PST 2007
On 9 Mar 2007, at 14:08, Graham Seaman wrote:
> Dominic Mitchell wrote:
>
>>
>> I believe that's actually incorrect... HEAD should replicate a GET
>> request *exactly*, including the COntent-Length for the non-existent
>> content.
>>
>> http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.4
>>
>>
> Thanks; of course, you're right - and when I looked a GET isn't
> returning the content-length either.
As far as I'm aware, it's entirely standard practice (and permitted
by the HTTP spec) to omit the content-length header on dynamic pages,
on both HEADs and GETs. Going back to the original question - what
oddities are you seeing with Googlebot / Yahoo that lead you to
suspect you need a content-length?
- Matt
More information about the Chat
mailing list