W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > January 2010

Re: Associating HTTP headers and bodies

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 07 Jan 2010 16:23:21 -0500
To: public-xml-processing-model-comments@w3.org
Message-ID: <m21vi1lid2.fsf@nwalsh.com>
Florent Georges <fgeorges@fgeorges.org> writes:
>     In a multipart message, the first set of c:header elements
>     that are the children of c:request are the headers to the
>     multipart message. The headers inside the c:multipart element
>     are associated with a particular message part. Each multipart
>     body is represented by a c:body preceded by some number of
>     c:header elements. These preceding headers are associated
>     with the body part in the multipart message.
>
>   So before going further, is it a typo in the content model, is
> it me not understanding the content model or the prose, or is it
> something else?

Total screw-up by the editor. That got left behind after we cleaned
things up. My new understanding is:

1. The c:headers in a c:multipart are for the multipart message.
2. There is no way to associate arbitrary headers with an individual c:body
3. The headers on each c:body are mapped as follows:

   c:body attribute      header
   ----------------      --------------------
   content-type          content-type
   encoding              content-encoding
   id                    content-id
   disposition           content-disposition [!!! added today !!!]

   There's no way to add any other headers and if there are any other
   headers on a multipart reply, they get dropped on the floor.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Debugging is 99% complete most of the
http://nwalsh.com/            | time--Fred Brooks, jr.

Received on Thursday, 7 January 2010 21:23:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 7 January 2010 21:23:58 GMT