axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/transport/http HTTPSender.java
Date Thu, 02 Aug 2001 11:26:46 GMT
rubys       01/08/02 04:26:46

  Modified:    java/src/org/apache/axis/transport/http HTTPSender.java
  Log:
  Add a host header so that Axis will work with multi-hosted sites.
  
  Revision  Changes    Path
  1.10      +5 -1      xml-axis/java/src/org/apache/axis/transport/http/HTTPSender.java
  
  Index: HTTPSender.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/transport/http/HTTPSender.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- HTTPSender.java	2001/08/01 19:53:44	1.9
  +++ HTTPSender.java	2001/08/02 11:26:46	1.10
  @@ -227,7 +227,11 @@
                .append( " HTTP/1.0\r\n" )
                .append( HTTPConstants.HEADER_CONTENT_LENGTH )
                .append( ": " )
  -             .append(reqEnv.length() )
  +             .append( reqEnv.length() )
  +             .append( "\r\n" )
  +             .append( HTTPConstants.HEADER_HOST )
  +             .append( ": " )
  +             .append( host )
                .append( "\r\n" )
                .append( HTTPConstants.HEADER_CONTENT_TYPE )
                .append( ": text/xml; charset=utf-8\r\n" )
  
  
  

Mime
View raw message