axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r389026 - /webservices/axis/trunk/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java
Date Mon, 27 Mar 2006 06:16:40 GMT
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



Mime
View raw message