How to Use curl Follow Redirect Verbose for Debugging? or Why Isn't curl Follow Redirect Verbose Show

18 Replies, 1813 Views

Fun fact: curl follow redirect verbose might skip hops if they’re circular (like A → B → A). It caps at 50 by default (`--max-redirs`).

For clarity, try `-sSLv` (silent but show errors + verbose). Or, if you’re lazy, `curl -vL 2>&1 | grep -E "(Location:|HTTP/)"` filters the noise.

`websniffer.cc` is also a neat online tool for visualizing redirects.

Messages In This Thread



Users browsing this thread: 1 Guest(s)