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

Accept-language #13

Open
milovanderlinden opened this issue Jun 1, 2016 · 4 comments
Open

Accept-language #13

milovanderlinden opened this issue Jun 1, 2016 · 4 comments
Assignees

Comments

@milovanderlinden
Copy link

I need the Accept-language set in the POST and GET as the texts returned by the open311 endpoint depends on the language in our case.

For now I have created a small hack, but it is Android specific as it tries to detect the system locale.

httpGet.setHeader(ACCEPT_LANGUAGE, Locale.getDefault().toString());
@SantiMunin
Copy link
Member

IIUC, you'd need basically the same but without Android specific code. Is that correct?

@milovanderlinden
Copy link
Author

Exactly.

@SantiMunin
Copy link
Member

I will look into this next week.

@SantiMunin SantiMunin self-assigned this Jul 27, 2016
@SantiMunin
Copy link
Member

Milo,

would it be possible to get the endpoint you are using to make some basic manual tests to check the change works?

Thanks

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

2 participants