Of course, `total` would default to `None` as per my example. So the 5 retries thing would not happen.

The 5 default limit is on _redirects_, which I think is sensible. More than 5 redirects and it's safe to assume you're in an infinite loop.