I know that
curl can follow redirects (the
-L argument), and I know that I can provide credentials to a request (
-u username:password), but I want to use both all the way down the redirect chain.
How can I tell
curl to reuse the username and password on every redirected location?