[5644] in www-talk@info.cern.ch
Re: holding connections open: a modest proposal
daemon@ATHENA.MIT.EDU (Dave Raggett)
Fri Sep 16 06:52:17 1994
Date: Fri, 16 Sep 1994 12:41:09 +0200
Errors-To: listmaster@www0.cern.ch
Errors-To: listmaster@www0.cern.ch
Reply-To: dsr@hplb.hpl.hp.com
From: Dave Raggett <dsr@hplb.hpl.hp.com>
To: Multiple recipients of list <www-talk@www0.cern.ch>
Joe,
Why don't you develop the segment idea into a MIME Content-encoding
type, e.g. Content-encoding: x-stream
Rather than a binary value for the segment length, I think we need
an ascii representation to avoid big-endian/little-endian problems.
I propose the number is represented as a string of one or more
digits from '0' to '9' terminated with a '\0' character. This is
followed by the corresponding number of octets (bytes).
This could then be combined with the keep connection pragma. One issue
to be resolved would be how x-stream would interact with say x-compress
or x-gzip. Perhaps we could allow multiple Content-encoding headers where
the receiving process applies the corresponding decode operation in the
order the Content-encoding headers appear in the MIME header.
--
Best wishes,
Dave Raggett
-----------------------------------------------------------------------------
Hewlett Packard Laboratories email: dsr@hplb.hpl.hp.com
Filton Road tel: +44 272 228046
Stoke Gifford fax: +44 272 228003
Bristol BS12 6QZ
United Kingdom