axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r290332 - /webservices/axis/trunk/java/src/org/apache/axis/Message.java
Date Tue, 20 Sep 2005 02:19:54 GMT
Author: dims
Date: Mon Sep 19 19:19:52 2005
New Revision: 290332

URL: http://svn.apache.org/viewcvs?rev=290332&view=rev
Log:
Remove the existing content-length header if any.


Modified:
    webservices/axis/trunk/java/src/org/apache/axis/Message.java

Modified: webservices/axis/trunk/java/src/org/apache/axis/Message.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/src/org/apache/axis/Message.java?rev=290332&r1=290331&r2=290332&view=diff
==============================================================================
--- webservices/axis/trunk/java/src/org/apache/axis/Message.java (original)
+++ webservices/axis/trunk/java/src/org/apache/axis/Message.java Mon Sep 19 19:19:52 2005
@@ -617,6 +617,7 @@
      *     was a problem saving changes to this message.
      */
     public void saveChanges() throws SOAPException {
+        headers.removeHeader("Content-Length");
         if (mAttachments != null && 0 < mAttachments.getAttachmentCount()) {
             try {
                 headers.setHeader("Content-Type",mAttachments.getContentType());



Mime
View raw message