News for hackers. Stuff that matters.
Re:Apple might be running a web crawler written in Go by lifeforms on Thursday November 06, 2014 @03:56PM (#8569709)
If Apple coders are reading, I noticed exactly the same issue of User-Agent header not being used on redirects.

You can solve this by (ab?)using the CheckRedirect functionality of http.Client to set the User-Agent again.

Here's an example: https://github.com/lifeforms/httpcheck/commit/07440d952d1660... (The program is nothing special, just a little thing I use internally for monitoring)

There are no comments on this comment yet.