W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > September to December 1997

Re: What is Content-Length?

From: Scott Lawrence <lawrence@agranat.com>
Date: Fri, 12 Dec 1997 17:54:59 -0500
Message-Id: <199712122255.RAA05877@devnix.agranat.com>
To: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com

>>>>> "JM" == Jeffrey Mogul <mogul@pa.dec.com> writes:

JM> After thinking about this some more, I believe we've (almost) all
JM> missed an obvious solution.

JM> 	If a message is sent on a persistent connection using
JM> 	a transfer-coding that does not exactly preserve the
JM> 	length of the data being encoding, then the "chunked"
JM> 	transfer-coding MUST be used, and MUST be the last
JM> 	transfer-coding applied.
[...]
JM> a server could send

JM> 	HTTP/1.1 200 OK
JM> 	Date: Thu, 11 Dec 1997 20:33:51 GMT
JM> 	Transfer-Encoding: compress, chunked

JM> 	3039
JM> 	... compressed data ...
JM> 	0

  Simple and elegant.  Let's make it so.

--
Scott Lawrence           EmWeb Embedded Server       <lawrence@agranat.com>
Agranat Systems, Inc.        Engineering            http://www.agranat.com/
Received on Friday, 12 December 1997 15:10:05 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:33:05 EDT