YetAnotherHttpHandler icon indicating copy to clipboard operation
YetAnotherHttpHandler copied to clipboard

YetAnotherHttpHandler is missing option AllowAutoRedirect

Open AdamFrisby opened this issue 1 year ago • 1 comments

The built-in HttpHandler supports a AllowAutoRedirect option (default: true), which will follow 302/etc redirects automatically.

Could a similar option be added here? (right now redirects are not automatically handled)

AdamFrisby avatar Nov 28 '23 23:11 AdamFrisby

Since YetAnotherHttpHandler is using Hyper under the hood it cannot be done as easily. We would have to implement the auto redirect feature manually in the C# layer or implement/use something like this https://github.com/srijs/rust-follow-redirects in the Hyper layer.

riverreal avatar Dec 20 '23 12:12 riverreal