Skip to content

[FEATURE] Option to disable/set different maximum number of redirects to follow #247

@yudelevi

Description

@yudelevi

Is your feature request related to a problem? Please describe.
Redirects happen transparently by net/http (and limit to 10 redirects) As a result, I'm unable to track the redirect history of a call.

Describe the solution you'd like
The net/http module supports a custom redirect function (CheckRedirect). It would be great to disable redirects entirely and return 301/302 or to set up a different limit.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions