[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16650538#comment-16650538
 ] 

Oleg Kalnichevski commented on HTTPCLIENT-1946:
-----------------------------------------------

As a prerequisite RFC 7538 requires conformance with RFC 7230 and 7231. The 5.x 
branch is conformant to RFC 723x, while the 4.5.x is not. I personally do not 
see a problem if we support RFC 7538 in 5.x only.

Oleg

> 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]

Reply via email to