Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

50X response code handling #348

shem8 opened this Issue Dec 5, 2012 · 2 comments


None yet
2 participants

shem8 commented Dec 5, 2012

We see that when the server return some error, specify 503 error code- "Service unavailable", the completion block is called and not the fail block.

Isn't it should call the failure block, or the failure block should only called when the request itself failed, and I should check the response code on myself?



OpenFibers commented Feb 17, 2013

you should check the response code yourself :D

shem8 commented Feb 17, 2013

That's what I do now, but I think that all error handling should be in the failure block, don't you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment