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

NPE in Response#getString() when there's no Content-Type header #3

Open
rgl2811 opened this issue Oct 16, 2018 · 0 comments
Open

NPE in Response#getString() when there's no Content-Type header #3

rgl2811 opened this issue Oct 16, 2018 · 0 comments

Comments

@rgl2811
Copy link

rgl2811 commented Oct 16, 2018

When there is no Content-Type header in the response, if getString() method is invoked it throws a NPE.

ContentType#get() implementation sets "*/*" to Content-Type value if the header is not present in the response, but sets charset to null.

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

1 participant