Skip to content
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

RxAlamofire checks body if response code is 202 #203

Open
harshvardhanarora opened this issue Jun 24, 2021 · 2 comments
Open

RxAlamofire checks body if response code is 202 #203

harshvardhanarora opened this issue Jun 24, 2021 · 2 comments

Comments

@harshvardhanarora
Copy link

If the response code from server is 202, rxalamofire checks for a body and if it is empty throws a inputDataNilOrZeroLength error which should not be the same as the request was still a success.

@harshvardhanarora
Copy link
Author

harshvardhanarora commented Jun 24, 2021

#204
This PR fixes the above issue. Kindly help with merging it thanks

@priest103
Copy link

This is just what I'm looking for!

@harshvardhanarora Was the PR closed by any particular reason?
Did you find an existing way of specifying emptyResponseCodes?

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

No branches or pull requests

2 participants