zio-http
zio-http copied to clipboard
Supporting automatic redirects
Is your feature request related to a problem? Please describe. Yes, almost all HTTP clients support redirecting when the error is 301, 302 and use Location field to go to the next address. WGET does this automatically and CURL has "-L --max-redirs 5"
Describe the solution you'd like ZClient should do this automatically and it should have a parameter for max retries
Describe alternatives you've considered writing a wrapper around this myself or use other http client like sttp with zio backend
Additional context