axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/transport/http CommonsHTTPSender.java
Date Sun, 31 Jul 2005 21:41:23 GMT
dims        2005/07/31 14:41:23

  Modified:    java/src/org/apache/axis/transport/http
                        CommonsHTTPSender.java
  Log:
  Set the user agent in CommonsHTTPSender.
  
  Revision  Changes    Path
  1.40      +1 -1      ws-axis/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java
  
  Index: CommonsHTTPSender.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- CommonsHTTPSender.java	30 Jul 2005 01:48:09 -0000	1.39
  +++ CommonsHTTPSender.java	31 Jul 2005 21:41:23 -0000	1.40
  @@ -500,7 +500,7 @@
           }
           method.setRequestHeader(new Header(HTTPConstants.HEADER_SOAP_ACTION, 
                                              "\"" + action + "\""));
  -
  +        method.setRequestHeader(new Header(HTTPConstants.HEADER_USER_AGENT, Messages.getMessage("axisUserAgent")));
           String userID = msgContext.getUsername();
           String passwd = msgContext.getPassword();
           
  
  
  

Mime
View raw message