Make curl follow redirects
Merge pull request #3 from stucki/master

Make curl follow redirects