[
https://issues.apache.org/jira/browse/HTTPCLIENT-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Leigh updated HTTPCLIENT-1355:
------------------------------------
Attachment: HTTPCLIENT-1355.patch
> 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: [email protected]
For additional commands, e-mail: [email protected]