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

Conform to charset flag in Content-Type header of request/response #20

Closed
mtford90 opened this issue Jun 16, 2014 · 0 comments
Closed

Comments

@mtford90
Copy link
Collaborator

At the moment we attempt UTF-8 decoding on responses and no decoding at all on request bodies. We should be checking for the charset flag within the Content-Type header e.g. Content-Type: text/html; charset=utf-8 and then apply that decoding. Not sure what to default to if that isn't present though, probably just attempt both ascii and UTF-8?

This is what is causing issue #19

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

No branches or pull requests

1 participant