axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/transport/http HTTPSender.java
Date Wed, 08 Sep 2004 15:43:05 GMT
ias         2004/09/08 08:43:05

  Modified:    java/src/org/apache/axis/transport/http HTTPSender.java
  Log:
  Remove duplicate SOAP action header.
  
  Revision  Changes    Path
  1.119     +3 -1      ws-axis/java/src/org/apache/axis/transport/http/HTTPSender.java
  
  Index: HTTPSender.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/transport/http/HTTPSender.java,v
  retrieving revision 1.118
  retrieving revision 1.119
  diff -u -r1.118 -r1.119
  --- HTTPSender.java	4 Jun 2004 12:05:48 -0000	1.118
  +++ HTTPSender.java	8 Sep 2004 15:43:04 -0000	1.119
  @@ -350,7 +350,9 @@
           if (mimeHeaders != null) {
               for (Iterator i = mimeHeaders.getAllHeaders(); i.hasNext(); ) {
                   MimeHeader mimeHeader = (MimeHeader) i.next();
  -                if (mimeHeader.getName().equals(HTTPConstants.HEADER_CONTENT_TYPE)) {
  +                String headerName = mimeHeader.getName();
  +                if (headerName.equals(HTTPConstants.HEADER_CONTENT_TYPE)
  +                        || headerName.equals(HTTPConstants.HEADER_SOAP_ACTION)) {
                   	continue;
                   }
                   header2.append(mimeHeader.getName())
  
  
  

Mime
View raw message