Author: bmaxwell
Date: 2011-06-16 15:42:44 -0400 (Thu, 16 Jun 2011)
New Revision: 14573
Modified:
stack/native/branches/jbossws-native-3.1.2.SP7_JBPAPP-6730/
stack/native/branches/jbossws-native-3.1.2.SP7_JBPAPP-6730/modules/core/src/main/java/org/jboss/ws/core/soap/attachment/MultipartRelatedXOPEncoder.java
Log:
[JBPAPP-6730] Setting charset on content-type header
Property changes on: stack/native/branches/jbossws-native-3.1.2.SP7_JBPAPP-6730
___________________________________________________________________
Added: svn:mergeinfo
+ /stack/native/trunk:11793
Modified:
stack/native/branches/jbossws-native-3.1.2.SP7_JBPAPP-6730/modules/core/src/main/java/org/jboss/ws/core/soap/attachment/MultipartRelatedXOPEncoder.java
===================================================================
---
stack/native/branches/jbossws-native-3.1.2.SP7_JBPAPP-6730/modules/core/src/main/java/org/jboss/ws/core/soap/attachment/MultipartRelatedXOPEncoder.java 2011-06-16
17:00:32 UTC (rev 14572)
+++
stack/native/branches/jbossws-native-3.1.2.SP7_JBPAPP-6730/modules/core/src/main/java/org/jboss/ws/core/soap/attachment/MultipartRelatedXOPEncoder.java 2011-06-16
19:42:44 UTC (rev 14573)
@@ -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