You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2008/03/02 18:41:51 UTC

svn commit: r632799 - /httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/HttpMethodBase.java

Author: sebb
Date: Sun Mar  2 09:41:50 2008
New Revision: 632799

URL: http://svn.apache.org/viewvc?rev=632799&view=rev
Log:
HTTPCLIENT-743 - Duplicate log of HTTP header

Modified:
    httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/HttpMethodBase.java

Modified: httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/HttpMethodBase.java
URL: http://svn.apache.org/viewvc/httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/HttpMethodBase.java?rev=632799&r1=632798&r2=632799&view=diff
==============================================================================
--- httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/HttpMethodBase.java (original)
+++ httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/HttpMethodBase.java Sun Mar  2 09:41:50 2008
@@ -1976,9 +1976,6 @@
                 throw new NoHttpResponseException("The server " + conn.getHost() + 
                     " failed to respond");
             }
-            if (Wire.HEADER_WIRE.enabled()) {
-                Wire.HEADER_WIRE.input(s + "\r\n");
-            }
             if (s != null && StatusLine.startsWithHTTP(s)) {
                 // Got one
                 break;