On Wed, 24 Jun 2020 at 14:15, Thomas Schmiedl <[email protected]> wrote:

> Hi,
>
> when trying to download a .ts-file with haproxy on the embedded
> device/router, haproxy logs http-status 302. When using wget on the
> router (please see attached output), wget "follows" the url and in the
> end it's http-status 200. Is this "following" also possible in haproxy?


It’s possible (
https://stackoverflow.com/questions/50844292/how-to-make-ha-proxy-to-follow-redirects-by-itself)
but you’re really solving the wrong problem.

Use an HTTP client which supports 3xx redirects; they’re at least 21 years
old!
https://tools.ietf.org/html/rfc2616

J

> --
Jonathan Matthews
London, UK
https://jpluscplusm.com

Reply via email to