axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r280043 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
Date Sat, 10 Sep 2005 21:41:34 GMT
Author: dims
Date: Sat Sep 10 14:41:31 2005
New Revision: 280043

URL: http://svn.apache.org/viewcvs?rev=280043&view=rev
Log:
adding semi-colons :)


Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java?rev=280043&r1=280042&r2=280043&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
Sat Sep 10 14:41:31 2005
@@ -304,12 +304,12 @@
             String encoding = omOutput.getCharSetEncoding();
             String contentType = omOutput.getContentType();
             if(encoding != null){
-                contentType += "charset=" + encoding;
+                contentType += ";charset=" + encoding;
             }
 
             // action header is not mandated in SOAP 1.2. So putting it, if available
             if(!msgCtxt.isSOAP11() && soapActionString != null && !"".equals(soapActionString.trim()))
{
-                contentType = contentType + " action=" + soapActionString + ";";
+                contentType = contentType + ";action=" + soapActionString + ";";
             }
             return contentType;
         }



Mime
View raw message