- From: <Toman_Vojtech@emc.com>
- Date: Mon, 26 Jan 2009 08:10:47 -0500
- To: <public-xml-processing-model-comments@w3.org>
Hi all, Suppose I want to send the following multipart data using p:http-request: <c:multipart boundary="strcprstskrzkrk"> <c:header name="Content-Type" value="text/plain"/> <c:body content-type="application/xml">...</c:body> </c:multipart> What will be the actual value of the Content-Type header of the body part - application/xml or text/plain? The spec says (section 7.1.10.2) 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 around. Regards, Vojtech
Received on Monday, 26 January 2009 13:11:40 UTC