binaryage / drydrop

Deploy static sites to App Engine by pushing to GitHub
http://drydrop.binaryage.com
Other
224 stars 32 forks source link

Fixed a bug where github was redirecting from http to https, causing urlfetch to fail and cache the failures as files with null contents such that it would not be refetched #7

Closed blanu closed 13 years ago

blanu commented 13 years ago

The changes I made were to have urlfetch follow redirects and to not cache files with null contents.

A more robust error handling mechanism is probably called for which temporarily caches errors with a timeout, but it wasn't necessary to fix this particular bug, so I didn't implement it.