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

Re: help.. content-length: 0 ?

From: Roy T. Fielding <fielding@kiwi.ICS.UCI.EDU>
Date: Wed, 11 Dec 1996 00:32:04 -0800
To: Royans K Tharakan <rkt@poboxes.com>
Cc: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
Message-Id: <9612110032.aa10877@paris.ics.uci.edu>
> The http specs mention that content-length should not be zero... though
> people are using it... and netscape takes it to mean 
> that 'download until disconnect'

That is a bug in Navigator.  "Content-length: 0" means no message body.

> Is there a way to tell the browser without using this unpredictable
> method that, the data size is dynamic.

Not sending a Content-Length in HTTP/1.x.  Using Transfer-Encoding: chunked
in HTTP/1.1.

....Roy
Received on Wednesday, 11 December 1996 00:53:06 EST

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