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

18 Replies, 2141 Views

curl follow redirect verbose not showing all steps? Classic.

Try `-D -` to dump headers to stdout, like:
```bash
curl -vL -D - http://example.com | grep -i "^Location:"
```
This’ll force you to see *every* Location header, even if curl’s being lazy.

Alternatively, `mitmproxy` is god-tier for tracing redirect chains visually.

Messages In This Thread



Users browsing this thread: 1 Guest(s)