You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2010/03/09 03:09:30 UTC

svn commit: r920621 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/OneWayProcessorInterceptor.java

Author: dkulp
Date: Tue Mar  9 02:09:30 2010
New Revision: 920621

URL: http://svn.apache.org/viewvc?rev=920621&view=rev
Log:
Don't send a content-type on the one-way accept response

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/OneWayProcessorInterceptor.java

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/OneWayProcessorInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/OneWayProcessorInterceptor.java?rev=920621&r1=920620&r2=920621&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/OneWayProcessorInterceptor.java (original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/OneWayProcessorInterceptor.java Tue Mar  9 02:09:30 2010
@@ -82,6 +82,7 @@ public class OneWayProcessorInterceptor 
             
             try {
                 Message partial = createMessage(message.getExchange());
+                partial.remove(Message.CONTENT_TYPE);
                 partial.setExchange(message.getExchange());
                 Conduit conduit = message.getExchange().getDestination()
                     .getBackChannel(message, null, null);