cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1543484 - /cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAOutInterceptor.java
Date Tue, 19 Nov 2013 16:37:36 GMT
Author: coheigea
Date: Tue Nov 19 16:37:36 2013
New Revision: 1543484

URL: http://svn.apache.org/r1543484
Log:
Add the Content-ID as a header

Modified:
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAOutInterceptor.java

Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAOutInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAOutInterceptor.java?rev=1543484&r1=1543483&r2=1543484&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAOutInterceptor.java
(original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAOutInterceptor.java
Tue Nov 19 16:37:36 2013
@@ -230,6 +230,7 @@ public class SwAOutInterceptor extends A
             AttachmentImpl att = new AttachmentImpl(id);
             att.setDataHandler(dh);
             att.setHeader("Content-Type", ct);
+            att.setHeader("Content-ID", "<" + id + ">");
             atts.add(att);
         }
     }



Mime
View raw message