cURL won't follow HTTP redirects by default, need the location option.
Merge pull request #10 from di/master

cURL won't follow HTTP redirects by default, need the location option.