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

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 16 Aug 2006 22:17:24 +0200

ons 2006-08-16 klockan 10:59 +0100 skrev Jim Christy:
> Hi all,
>
> Just wondering if someone can tell me which is best:
>
> Content-Length: 0
>
> or Content-Length completely missing from the header?

If you can, sending Content-Length is always best.

Content-Length: 0

says that the object is 0 bytes in size.

Missing Content-Length header says that the object is of unknown size
and ends when the connection is terminated by the server.

Regards
Henrik

Received on Wed Aug 16 2006 - 14:17:28 MDT

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