cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1458659 - /cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java
Date Wed, 20 Mar 2013 07:30:17 GMT
Author: ffang
Date: Wed Mar 20 07:30:16 2013
New Revision: 1458659

URL: http://svn.apache.org/r1458659
Log:
[CXF-4844]Response header Content-type not recognized for asynchronous soap/http

Modified:
    cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java

Modified: cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java?rev=1458659&r1=1458658&r2=1458659&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java
(original)
+++ cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java
Wed Mar 20 07:30:16 2013
@@ -651,7 +651,7 @@ public class AsyncHTTPConduit extends UR
                     h.headerMap().put(header.getName(), s);
                 }
                 s.add(header.getValue());
-                if ("Content-Type".equals(header.getName())) {
+                if ("Content-Type".equalsIgnoreCase(header.getName())) {
                     ct = header.getValue();
                 }
             } 



Mime
View raw message