50X response code handling
shem8 opened this issue · 2 comments
shem8 commented
Hi,
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?
thx.
V01dZer0 commented
you should check the response code yourself :D
shem8 commented
That's what I do now, but I think that all error handling should be in the failure block, don't you think?