How to make curl follow redirect properly? Need help with curl follow redirect behavior. Alternatively, for

18 Replies, 1051 Views

Weird. curl follow redirect should work with `-L`. Maybe the server’s sending malformed headers?

Try `curl --raw -L` to see the unfiltered response. Also, `strace curl -L` if you’re on Linux—might show syscall fails.

If all else fails, `wget` is more forgiving with redirects.

Messages In This Thread



Users browsing this thread: 2 Guest(s)