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

Re: 10.12 Content-Length

From: Larry Masinter <masinter@parc.xerox.com>
Date: Tue, 30 Apr 1996 16:45:51 PDT
To: dmk@allegra.att.com
Cc: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
Message-Id: <96Apr30.164602pdt.2733@golden.parc.xerox.com>
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/403
> HTTP/1.1 request messages that contain an entity body MUST contain
> either a valid Content-Length field value or a Transfer-Encoding: chunked
> entity header and a chunked entity body.

It would be more general and simpler just to say that 

It must be possible for the recipient to reliably determine the end of
a HTTP/1.1 request method containing an entity body, e.g., because the
request has a valid Content-Length field, uses transfer-encoding:
chunked or a multipart body.

(Note that file upload suggests using multipart/form-data for posting;
this form is self-delimiting and doesn't need either content-length
*or* chunked encodings.)

Received on Tuesday, 30 April 1996 16:49:58 UTC

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