HTTPCLIENT-1946: handling of 308 status as per RFC 7538

This commit is contained in:
Oleg Kalnichevski 2018-10-21 13:40:46 +02:00
parent 8ebb629563
commit 2b6f7e53d0
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ public class DefaultRedirectStrategy implements RedirectStrategy {
case HttpStatus.SC_MOVED_TEMPORARILY:
case HttpStatus.SC_SEE_OTHER:
case HttpStatus.SC_TEMPORARY_REDIRECT:
case HttpStatus.SC_PERMANENT_REDIRECT:
return true;
default:
return false;