You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2002/09/01 04:22:44 UTC
cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient HttpMethodBase.java
dion 2002/08/31 19:22:44
Modified: httpclient/src/java/org/apache/commons/httpclient
HttpMethodBase.java
Log:
Applied patch from Ryan Lubke <Ry...@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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>