You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "David Peleg (JIRA)" <ji...@apache.org> on 2018/10/15 14:58:00 UTC
[jira] [Created] (HTTPCLIENT-1946) Support relatively new HTTP 308
redirect - RFC7538
David Peleg created HTTPCLIENT-1946:
---------------------------------------
Summary: 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)
Environment: Irrelevant
Reporter: David Peleg
Fix For: 3.1 (end of life)
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() add SC_PERMANENT_REDIRECT to the switch clause.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org