diff --git a/httpclient/src/main/java/org/apache/http/client/methods/HttpRequestBase.java b/httpclient/src/main/java/org/apache/http/client/methods/HttpRequestBase.java index 4de99406c..5c23fe361 100644 --- a/httpclient/src/main/java/org/apache/http/client/methods/HttpRequestBase.java +++ b/httpclient/src/main/java/org/apache/http/client/methods/HttpRequestBase.java @@ -195,4 +195,9 @@ public abstract class HttpRequestBase extends AbstractHttpMessage return clone; } + @Override + public String toString() { + return getMethod() + " " + getURI() + " " + getProtocolVersion(); + } + }