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

Problem working with Content Coding in response #76

Open
joshgontijo opened this issue Oct 12, 2017 · 0 comments
Open

Problem working with Content Coding in response #76

joshgontijo opened this issue Oct 12, 2017 · 0 comments

Comments

@joshgontijo
Copy link
Owner

From #56

I'm trying to use your UniRest for Java, but I'm struggling with one (I think) simple problem.
When trying to build a request with a response that has a content coding "ISO-8859-1" response, I got and UnirestException (Caused by: com.mashape.unirest.http.exceptions.UnirestException: org.apache.http.client.ClientProtocolException ==> Caused by: org.apache.http.HttpException: Unsupported Content-Coding: ISO-8859-1).
I've tried adding Content-Encoding and Accept-Encoding as headers in the request, with no luck.
Can you point me out in the right direction on how to solve this ?

Great library, btw :)

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