You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/01/03 18:48:01 UTC
[jira] [Commented] (HTTPCLIENT-1893) Inspecting the Redirect inside
a RedirectStrategy mutates the RedirectLocations array
[ 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org