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

p:http-request - conflicting content-type information for body parts

From: <Toman_Vojtech@emc.com>
Date: Mon, 26 Jan 2009 08:10:47 -0500
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870E4C0D15@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>

Hi all,

Suppose I want to send the following multipart data using

<c:multipart boundary="strcprstskrzkrk">
  <c:header name="Content-Type" value="text/plain"/>

  <c:body content-type="application/xml">...</c:body>

What will be the actual value of the Content-Type header of the body
part - application/xml or text/plain?

The spec says (section that: "The content-type attribute
specifies the media type of the body or body part, that is, the value of
its Content-Type header."

>From this I assume that the content-type attribute of c:body overrides
any conflicting information in the headers for the body part, but it is
not really obvious from the spec. ...or, it may be as well the other way

Received on Monday, 26 January 2009 13:11:40 UTC

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