Skip to content

Align TestRestTemplate default redirect settings to be the same as RestTemplate #43431

Closed
@philwebb

Description

@philwebb

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions