We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, in Ruby1.9 when httpclient gets a response wth body, that body is encoded as US-ASCII even if the HTTP response contains:
Content-Type: lalala/lololo;charset=UTF-8
This forces me to convert the got body to UTF-8 by running: body.force-encoding(:'UTF-8')
It would be great if httpclient would, by itself, encode the retrieved body in the appropiate endoding, which could be (ir orden or preference):
The text was updated successfully, but these errors were encountered:
Just got bitten by this.
Sorry, something went wrong.
same here.
e5efea5
No branches or pull requests
Hi, in Ruby1.9 when httpclient gets a response wth body, that body is encoded as US-ASCII even if the HTTP response contains:
Content-Type: lalala/lololo;charset=UTF-8
This forces me to convert the got body to UTF-8 by running:
body.force-encoding(:'UTF-8')
It would be great if httpclient would, by itself, encode the retrieved body in the appropiate endoding, which could be (ir orden or preference):
The text was updated successfully, but these errors were encountered: