[
https://issues.apache.org/jira/browse/HTTPCLIENT-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16658182#comment-16658182
]
ASF subversion and git services commented on HTTPCLIENT-1946:
-------------------------------------------------------------
Commit 2b6f7e53d0cd63ab333466d79b0f618656daa940 in httpcomponents-client's
branch refs/heads/master from [~olegk]
[ https://git-wip-us.apache.org/repos/asf?p=httpcomponents-client.git;h=2b6f7e5
]
HTTPCLIENT-1946: handling of 308 status as per RFC 7538
> Support relatively new HTTP 308 redirect - RFC7538
> --------------------------------------------------
>
> Key: HTTPCLIENT-1946
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1946
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient (classic)
> Affects Versions: 3.1 (end of life), 4.5.6
> Environment: Irrelevant
> Reporter: David Peleg
> Priority: Major
> Labels: easyfix, usability
>
> RFC7538 added a new HTTP redirect code: 308.
>
> To support it all you need is adding 2 rows:
> # In HttpStatus add constant: SC_PERMANENT_REDIRECT = 308
> # In HttpMethodDirector.isRedirectNeeded() (in version 3.x) add
> SC_PERMANENT_REDIRECT to the switch clause.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]