W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October 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.4.0 : Thursday, 2 February 2023 18:43:00 UTC