Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestRestTemplate should have same default redirect settings as RestTemplate #43431

Open
philwebb opened this issue Dec 6, 2024 · 0 comments
Open
Labels
type: enhancement A general enhancement
Milestone

Comments

@philwebb
Copy link
Member

philwebb commented Dec 6, 2024

The current situation is quite confusing. We use the defaults for the underlying library (usually follow redirects), unless you use HtttComponents. At that point we stop following redirects unless you create the TestRestTemplate with HttpClientOption.ENABLE_REDIRECTS.

@philwebb philwebb added this to the 3.5.x milestone Dec 6, 2024
@philwebb philwebb added the type: enhancement A general enhancement label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant