feat: Per-request redirect policy override
This is a repeat of https://github.com/seanmonstar/reqwest/pull/1204, with minimal changes.
Fixes #353
At Zed, our previous HTTP client exposed an API for configuring the redirect policy per-request configuration. We've since used this feature in a few places, as well as exposed it via our extension API. We're now working on upgrading our HTTP client to reqwest and so would like to revive and take responsibility for this old PR!
I would need this PR also for my project, don't know about the priority but it would be nice if this could be added!
Hi, @mikayla-maki thank you for this work! As discussed in https://github.com/seanmonstar/reqwest/issues/2641, I have submitted https://github.com/seanmonstar/reqwest/pull/2658. Welcome to checkout and take a review.