Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

Make curl error on 404 #7

Merged
merged 1 commit into from
Mar 28, 2013
Merged

Make curl error on 404 #7

merged 1 commit into from
Mar 28, 2013

Conversation

hunner
Copy link
Member

@hunner hunner commented Mar 28, 2013

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.

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.
nanliu added a commit that referenced this pull request Mar 28, 2013
@nanliu nanliu merged commit 5836d24 into voxpupuli:master Mar 28, 2013
@nanliu
Copy link
Contributor

nanliu commented Mar 28, 2013

Thanks for the update.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants