HTTPCLIENT-1946: handling of 308 status as per RFC 7538
This commit is contained in:
parent
8ebb629563
commit
2b6f7e53d0
|
@ -74,6 +74,7 @@ public class DefaultRedirectStrategy implements RedirectStrategy {
|
||||||
case HttpStatus.SC_MOVED_TEMPORARILY:
|
case HttpStatus.SC_MOVED_TEMPORARILY:
|
||||||
case HttpStatus.SC_SEE_OTHER:
|
case HttpStatus.SC_SEE_OTHER:
|
||||||
case HttpStatus.SC_TEMPORARY_REDIRECT:
|
case HttpStatus.SC_TEMPORARY_REDIRECT:
|
||||||
|
case HttpStatus.SC_PERMANENT_REDIRECT:
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue