Re: [squid-users] Content-Lenght: 0 vs Missing Content-Length

From: Jim Christy <jim.christy@dont-contact.us>
Date: Wed, 16 Aug 2006 18:30:29 +0100

Thanks,

They are specifically setting the header: Transfer-Encoding: Chunked
 - so sounds like it should be fine.

Cheers
Jim

On 8/16/06, Matus UHLAR - fantomas <uhlar@fantomas.sk> wrote:
> On 16.08.06 10:59, Jim Christy wrote:
> > Just wondering if someone can tell me which is best:
> >
> > Content-Length: 0
> >
> > or Content-Length completely missing from the header?
>
> the missing one. "0" is broken.
>
> > The site i'm going to be caching is prepared to change their headers
> > but their content is dynamically generated and therefore they can't
> > generate the content-lenght so they want to leave it off completely.
>
> no problem. If the server supports chunked encoding, nothing bad should
> happen.
>
> --
> Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> 10 GOTO 10 : REM (C) Bill Gates 1998, All Rights Reserved!
>
Received on Wed Aug 16 2006 - 11:30:34 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT