Skip to content

Configure redirects in TestRestTemplate #1497

Closed
@bep

Description

@bep

TestRestTemplate is useful, but unlike RestTemplate it doesn't follow redirects if configured with Apache Http Client.

This is useful in some cases (like, when redirects happen). An optional redirectsEnabled constructor argument would be fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions