Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

50X response code handling #348

Open
shem8 opened this Issue · 2 comments

2 participants

@shem8

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.

@OpenFibers

you should check the response code yourself :D

@shem8

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
Something went wrong with that request. Please try again.