hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPASYNC-50) CachingHttpAsyncClient generates incorrect HTTP request line
Date Thu, 01 Aug 2013 12:55:49 GMT

    [ https://issues.apache.org/jira/browse/HTTPASYNC-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13726404#comment-13726404
] 

Oleg Kalnichevski commented on HTTPASYNC-50:
--------------------------------------------

Could you please attach a wire log of the session?

http://hc.apache.org/httpcomponents-client-ga/logging.html

Oleg

PS: Please note that an absolute URI in HTTP/1.1 request is perfectly legal
                
> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message