Closed hunner closed 11 years ago
Normally a webserver will return an html document when a 404 is encountered. By default curl will download this html and return 0. This pull request causes curl to return 22 instead, thus making the staging::file resource fail on 404.
Thanks for the update.
Normally a webserver will return an html document when a 404 is encountered. By default curl will download this html and return 0. This pull request causes curl to return 22 instead, thus making the staging::file resource fail on 404.