You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Gary Gregory (Jira)" <ji...@apache.org> on 2019/08/31 14:33:00 UTC
[jira] [Resolved] (HTTPCLIENT-2014) Refactor
DefaultRedirectStrategy for subclassing
[ https://issues.apache.org/jira/browse/HTTPCLIENT-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory resolved HTTPCLIENT-2014.
--------------------------------------
Fix Version/s: 4.5.10
Resolution: Fixed
I am resolving for now since the code is in 4.5.x.
For master, I do not see the need to refactor as the code is quite different.
> Refactor DefaultRedirectStrategy for subclassing
> ------------------------------------------------
>
> Key: HTTPCLIENT-2014
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2014
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient (classic)
> Reporter: Gary Gregory
> Assignee: Gary Gregory
> Priority: Major
> Fix For: 4.5.10
>
>
> Refactor DefaultRedirectStrategy for subclassing. (#164)
> - Adds the constructor DefaultRedirectStrategy(String[]) to construct a new instance to redirect the given HTTP methods.
> - The default constructor now calls the String[] constructor.
> - Reimplement the LaxRedirectStrategy default constructor to call DefaultRedirectStrategy(String[]).
> All of this allows for new custom subclasses of DefaultRedirectStrategy to provide their own array of HTTP methods to redirect.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org