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

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Wed, 16 Aug 2006 17:51:55 +0200

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 - 09:51:59 MDT

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