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>
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/2067
> 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.

Received on Wednesday, 11 December 1996 00:53:06 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:40:18 UTC