The text e6275cf5c36a, as macOS 12.5, macOS 12.4, macOS 12.3 shipped it.
get the number of redirects
CURLINFO_REDIRECT_COUNT(3) on macOS now