SchlenkR/FsHttp

automatic redirect

Closed this issue · 2 comments

idea, add a flag in CE to enable/disable automatic redirect

http {

   config_automaticRedirect false
}

Is that meant to be a shortcut for the following code?

http {
    ...
    config_transformHttpClientHandler (fun handler ->
        handler.AllowAutoRedirect <- false
        handler
    )
}

I didnt know was so easy :) then a simple function should be fine