IPP> Multipart Chunked Keep-Alive?

IPP> Multipart Chunked Keep-Alive?

Michael Sweet mike at easysw.com
Sat Aug 4 07:32:16 EDT 2001


Marty Joel wrote:
> ...
> Can multipart and chunking coexist?

OK, multipart/xyz is just like any other MIME media type - as far
as the client is concerned, it is getting one big file of type
"multipart/xyz", which can then be parsed to get the individual
pieces.  A chunked response might look like this:

    Content-Type: multipart/related; boundary-string="---FOO---"
    Transfer-Encoding: chunked

    B
    ---FOO---

    1f
    Content-Type: application/ipp

    <some length>
    <ipp message>

    B
    ---FOO---

    1f
    Content-Type: application/ipp

    <some length>
    <ipp message>

    ...

    0

Technically the chunking is part of the transport protocol and
the multipart/related is a different content type which must be
parsed separately from the HTTP data.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products                  mike at easysw.com
Printing Software for UNIX                       http://www.easysw.com



More information about the Ipp mailing list