hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1573002 - /httpcomponents/httpclient/branches/4.3.x/httpclient/src/main/java/org/apache/http/client/methods/RequestBuilder.java
Date Fri, 28 Feb 2014 17:11:07 GMT
Author: olegk
Date: Fri Feb 28 17:11:06 2014
New Revision: 1573002

URL: http://svn.apache.org/r1573002
Log:
Bug fix

Modified:
    httpcomponents/httpclient/branches/4.3.x/httpclient/src/main/java/org/apache/http/client/methods/RequestBuilder.java

Modified: httpcomponents/httpclient/branches/4.3.x/httpclient/src/main/java/org/apache/http/client/methods/RequestBuilder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.3.x/httpclient/src/main/java/org/apache/http/client/methods/RequestBuilder.java?rev=1573002&r1=1573001&r2=1573002&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/4.3.x/httpclient/src/main/java/org/apache/http/client/methods/RequestBuilder.java
(original)
+++ httpcomponents/httpclient/branches/4.3.x/httpclient/src/main/java/org/apache/http/client/methods/RequestBuilder.java
Fri Feb 28 17:11:06 2014
@@ -128,7 +128,7 @@ public class RequestBuilder {
         if (request instanceof HttpUriRequest) {
             uri = ((HttpUriRequest) request).getURI();
         } else {
-            uri = URI.create(request.getRequestLine().getMethod());
+            uri = URI.create(request.getRequestLine().getUri());
         }
         if (headergroup == null) {
             headergroup = new HeaderGroup();



Mime
View raw message