W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 1995

Re: Worries about content-length

From: Larry Masinter <masinter@parc.xerox.com>
Date: Mon, 8 May 1995 14:26:49 PDT
To: jag@scndprsn.eng.sun.com
Cc: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
Message-Id: <95May8.142657pdt.2761@golden.parc.xerox.com>
I said:
>> You can guarantee (with adequate probability) that the end string is
>> unique without parsing the data, by using a sufficiently good random
>> number generator.
>> 
>> I guarantee it.

and jag@scndprsn.eng.sun.com (James Gosling) replied:

> Yes, but it's still a hack.  A simpler solution is to just pick a constant
> byte value (020 springs to mind :-) and use that as an escape code.  It
> doesn't fit into the MIME scheme of things, but it's 100% solid and simpler
> to build than mime/multipart

Mime multipart was designed for mail transport through systems where
lines get chopped, wrapped, characters get translated, etc.

It's less likely that HTTP even through proxies will mangled data but
there's a need for a reliable end-marker, I could see adding a new
Content-transfer-encoding. What else beside EOF (and the escape
character itself) needs to be coded with the escape character?
Received on Monday, 8 May 1995 14:28:36 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:42:55 UTC