Rocco Zanni created HTTPASYNC-50:
------------------------------------
Summary: CachingHttpAsyncClient generates incorrect HTTP request
line
Key: HTTPASYNC-50
URL: https://issues.apache.org/jira/browse/HTTPASYNC-50
Project: HttpComponents HttpAsyncClient
Issue Type: Bug
Affects Versions: 4.0-beta4
Reporter: Rocco Zanni
When calling this version of execute()
public Future<HttpResponse> execute(final HttpUriRequest request, final
FutureCallback<HttpResponse> callback)
this way:
execute(new HttpGet("http://localhost:20000/request"), new
FutureCallback<HttpResponse>() {
@Override
public void completed(HttpResponse result) {}
@Override
public void failed(Exception ex) {}
@Override
public void cancelled() {}
});
the first line of the HTTP request sent on the wire is like this one:
GET http://localhost:20000/request HTTP/1.1
instead of the correct one:
GET /request HTTP/1.1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]