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

p:http-request content-type and encoding

From: Norman Walsh <ndw@nwalsh.com>
Date: Wed, 04 Feb 2009 07:51:32 -0500
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2fxiujrfv.fsf@nwalsh.com>
Suppose I want to send a MIME multipart request where the first part
is encoding as UTF-8 and the second part is encoded as ISO-8859-1.

Do I do this:

  <c:multipart ...>
    <c:body content-type="application/xml" encoding="utf-8">...</c:body>
    <c:body content-type="application/xml" encoding="iso-8859-1">...</c:body>

or do I do this:

  <c:multipart ...>
    <c:body content-type="application/xml; charset=utf-8">...</c:body>
    <c:body content-type="application/xml; charset=iso-8859-1">...</c:body>

or have we not considered this case?

Our current description of the encoding attribute only mandates
support for "base64".

It would appear that 'encoding' on p:http-request applies to the
entire body, but in the multipart case, that may not be correct.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | Science is like sex: sometimes
http://nwalsh.com/            | something useful comes out, but that is
                              | not the reason we are doing
                              | it.--Richard Feynman

Received on Wednesday, 4 February 2009 12:52:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:26 UTC