You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ga...@apache.org on 2006/03/27 08:16:40 UTC

svn commit: r389026 - /webservices/axis/trunk/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java

Author: gawor
Date: Sun Mar 26 22:16:37 2006
New Revision: 389026

URL: http://svn.apache.org/viewcvs?rev=389026&view=rev
Log:
bugfix AXIS-2435

Modified:
    webservices/axis/trunk/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java

Modified: webservices/axis/trunk/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java?rev=389026&r1=389025&r2=389026&view=diff
==============================================================================
--- webservices/axis/trunk/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java (original)
+++ webservices/axis/trunk/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java Sun Mar 26 22:16:37 2006
@@ -215,7 +215,7 @@
                        SOAPConstants.SOAP12_CONSTANTS) {
                 // For now, if we're SOAP 1.2, fall through, since the range of
                 // valid result codes is much greater
-            } else if ((contentType != null) && !contentType.equals("text/html")
+            } else if ((contentType != null) && !contentType.startsWith("text/html")
                        && ((returnCode > 499) && (returnCode < 600))) {
                 
                 // SOAP Fault should be in here - so fall through