Author: bmaxwell
Date: 2011-06-17 15:18:36 -0400 (Fri, 17 Jun 2011)
New Revision: 14580
Modified:
stack/native/branches/jbossws-native-3.1.2/modules/core/src/main/java/org/jboss/ws/core/soap/attachment/MultipartRelatedXOPEncoder.java
Log:
[JBPAPP-6729] Setting charset on content-type header
Modified:
stack/native/branches/jbossws-native-3.1.2/modules/core/src/main/java/org/jboss/ws/core/soap/attachment/MultipartRelatedXOPEncoder.java
===================================================================
---
stack/native/branches/jbossws-native-3.1.2/modules/core/src/main/java/org/jboss/ws/core/soap/attachment/MultipartRelatedXOPEncoder.java 2011-06-17
18:48:18 UTC (rev 14579)
+++
stack/native/branches/jbossws-native-3.1.2/modules/core/src/main/java/org/jboss/ws/core/soap/attachment/MultipartRelatedXOPEncoder.java 2011-06-17
19:18:36 UTC (rev 14580)
@@ -80,7 +80,7 @@
rootPart.setText(envStr, "UTF-8");
rootPart.setContentID(MimeConstants.ROOTPART_CID);
- rootPart.setHeader(MimeConstants.CONTENT_TYPE,
MimeConstants.TYPE_APPLICATION_XOP_XML + "; type=\"" + soapType +
"\"");
+ rootPart.setHeader(MimeConstants.CONTENT_TYPE,
MimeConstants.TYPE_APPLICATION_XOP_XML + "; charset=UTF-8; type=\"" +
soapType + "\"");
rootPart.setHeader(MimeConstants.CONTENT_TRANSFER_ENCODING,
MimeConstants.TEXT_8BIT_ENCODING);
multipart.addBodyPart(rootPart);
Show replies by date