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

[Bug] [Android] Accept-Charset header #482

Open
gasperinn opened this issue Oct 4, 2022 · 1 comment
Open

[Bug] [Android] Accept-Charset header #482

gasperinn opened this issue Oct 4, 2022 · 1 comment

Comments

@gasperinn
Copy link

gasperinn commented Oct 4, 2022

Overview of the Issue

I am having problems with sending requests to Authenticate Server from an Ionic 3 app as the request is being denied (403) because "Accept-Charset" header is being set as "UTF-8". As described here, this header should not be used anymore.

Operating System

Android only

Suggest a Fix

In class CordovaHttpBase, in function prepareRequest the line 136 where the header "Accept-Charset" is set should be deleted :

request.acceptCharset("UTF-8");

@silkimen
Copy link
Owner

silkimen commented May 23, 2023

Hi @gasperinn, thanks for the catch! Would you please provide a PR? Just saw, @ciknowles already did!

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