Search squid archive

Re: Content-Lenght: 0 vs Missing Content-Length

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx ; 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!

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux