[
https://issues.apache.org/jira/browse/HTTPCLIENT-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310060#comment-16310060
]
ASF subversion and git services commented on HTTPCLIENT-1893:
-------------------------------------------------------------
Commit 47a0eb8b65c2a98b50567bf6e0b4229a08035098 in httpcomponents-client's
branch refs/heads/master from [~olegk]
[ https://git-wip-us.apache.org/repos/asf?p=httpcomponents-client.git;h=47a0eb8
]
HTTPCLIENT-1893: Moved HttpContext state logic out of DefaultRedirectStrategy
to the redirect execution interceptors; redesigned RedirectLocations class;
refactored classic redirect execution interceptor unit tests
> Inspecting the Redirect inside a RedirectStrategy mutates the
> RedirectLocations array
> -------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-1893
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1893
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Affects Versions: 4.5.4
> Reporter: Raymond Huang
> Assignee: Oleg Kalnichevski
> Fix For: 5.0 Beta1
>
>
> We're implementing a custom RedirectStrategy based on
> DefaultRedirectStrategy. We found that calling {{getLocationURI}} mutates the
> RedirectLocations object.
> This seems unexpected that a {{get}} method mutates an object.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]