-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on 404 #277
Error on 404 #277
Conversation
Added test case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, happy to accept this, but really this should be fixed in puppy too.
This is by design in puppy as shown in the readme. I have left a question though in the puppy repo asking if the exceptions could be thrown when using the basic proc (treeform/puppy#31) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, another thing and should be ready.
… sense when used in other areas
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Checks the
Response
objects http code and returns error if 404 instead of writing an empty tar file and trying to extract that.Right now it only checks for 404, should it return an error unless the http code is 2xx?