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

Re: Worries about content-length

From: James Gosling <jag@scndprsn.eng.sun.com>
Date: Mon, 8 May 1995 14:03:42 +0800
Message-Id: <9505082103.AA04188@norquay.Eng.Sun.COM>
To: masinter@parc.xerox.com
Cc: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
> > Hmm, is it that much easier? In order for the server to guarantee that the
> > `random' string is unique it must parse the stream before it can generate
> > one and then it might as well calculate the content-length?
> 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.

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
Received on Monday, 8 May 1995 16:01:09 UTC

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