commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient HttpMethodBase.java
Date Sun, 01 Sep 2002 02:22:44 GMT
dion        2002/08/31 19:22:44

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        HttpMethodBase.java
  Log:
  Applied patch from Ryan Lubke <Ryan.Lubke@Sun.COM> to correct web tests
  
  Revision  Changes    Path
  1.48      +5 -5      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpMethodBase.java
  
  Index: HttpMethodBase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpMethodBase.java,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- HttpMethodBase.java	14 Aug 2002 01:41:58 -0000	1.47
  +++ HttpMethodBase.java	1 Sep 2002 02:22:44 -0000	1.48
  @@ -1010,7 +1010,7 @@
           
           if (isIpAddress(host)) {
               log.debug("Adding empty Host request header: host is an ipaddress");
  -            setRequestHeader("Host", null);
  +            setRequestHeader("Host", "");
               return;
           }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message