Note: http.DefaultClient will follow redirects by default, whereas curl does not without the --location flag. Since reusing HTTP client is good Go practice, this tool does not attempt to configure the HTTP client for you.