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

Allow setting of accepted content encodings and charset #6

Open
erickok opened this issue Feb 13, 2013 · 0 comments
Open

Allow setting of accepted content encodings and charset #6

erickok opened this issue Feb 13, 2013 · 0 comments

Comments

@erickok
Copy link

erickok commented Feb 13, 2013

Although the defaults make a lot of sense, sometimes a server doesn't play nice and you need to set a specific content encoding and character set to be accepted. For example, teh webserver I am talking to claims to support gzipped content, but often returns scrambled data when I ask for it.

I suggest keeping the defaults in place but allow setting of content encodings and charset on the HttpClient, so these settings are used in any successive http request.

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