-
Notifications
You must be signed in to change notification settings - Fork 321
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
Revert Response#parse
behavior introduced in #540
#670
Conversation
I also agree with this change. If I'm getting a response back that says its "application/json", but its not, then I have to handle that somewhere. If I do any of If I'm writing a quick script, then letting it just fail is fine. If I'm doing something more production-worthy, I have to do the manual labor to either rescue the exception, or not use |
My argument is not that JSON parsing will fail, but that if one will add custom MIME type parser, But I have no problems with bringing back implicit mime type guessing. |
Thanks for the quick PR. :D |
I completely agree with this. I for one, feel that the argument should be removed. I feel that |
Thanks for being flexible and quick to merge. |
That's a good point. I like this idea. |
Following the discussion in #665, this PR reverts the behavior of
Response#parse
to how it behaved in4.x
.