You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current situation is quite confusing. We use the defaults for the underlying library (usually follow redirects), unless you use HttpComponents. At that point we stop following redirects unless you create the TestRestTemplate with HttpClientOption.ENABLE_REDIRECTS.
The text was updated successfully, but these errors were encountered:
Hello @philwebb if you would be available to explain what you mean by second sentence in a bit more detail I would like to start working on this issue.
Thanks for the offer @thecooldrop, but I think this one might be better handled by the team. We need to do some design work before and have some additional discussion before come up with the direction we want to take.
philwebb
changed the title
TestRestTemplate should have same default redirect settings as RestTemplate
Align TestRestTemplate default redirect settings to be the same as RestTemplate
Apr 17, 2025
The current situation is quite confusing. We use the defaults for the underlying library (usually follow redirects), unless you use HttpComponents. At that point we stop following redirects unless you create the
TestRestTemplate
withHttpClientOption.ENABLE_REDIRECTS
.The text was updated successfully, but these errors were encountered: