You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2013/05/26 13:00:21 UTC

[jira] [Resolved] (HTTPCLIENT-1355) HttpRequestWrapper Should Continue to Implement HttpUriRequest

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCLIENT-1355.
-------------------------------------------

    Resolution: Fixed

Patch checked in.

Oleg
                
> HttpRequestWrapper Should Continue to Implement HttpUriRequest
> --------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1355
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1355
>             Project: HttpComponents HttpClient
>          Issue Type: Wish
>          Components: HttpClient
>    Affects Versions: 4.3 Beta1
>            Reporter: James Leigh
>             Fix For: 4.3 Beta2
>
>         Attachments: HTTPCLIENT-1355.patch
>
>
> The documentation for 4.2 suggests that the value of the context attribute ExecutionContext.HTTP_REQUEST will always be an object that implements HttpUriRequest. In 4.2 this is also true in practise, because HttpRequestWrapper implements HttpUriRequest. However, in 4.3 HttpRequestWrapper does not implement HttpUriRequest and the example provided in the 4.2 documentation is not forwards compatible with 4.3.
> I would expect that user code that closely follows the 4.2 documentation would continue to function (without error) in 4.3.
> http://hc.apache.org/httpcomponents-client-ga/tutorial/html/httpagent.html#d5e1232

--
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