IPP Mail Archive: Re: IPP> Multipart Chunked Keep-Alive?

Re: IPP> Multipart Chunked Keep-Alive?

From: Michael Sweet (mike@easysw.com)
Date: Sat Aug 04 2001 - 07:32:16 EDT

  • Next message: Mike Bartman: "RE: IPP> Multipart Chunked Keep-Alive?"

    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@easysw.com
    Printing Software for UNIX                       http://www.easysw.com
    



    This archive was generated by hypermail 2b29 : Sat Aug 04 2001 - 07:34:42 EDT