Skip to content

Commit

Permalink
fix: remove accept-charset (#6386)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Anderson <mark@ionic.io>
  • Loading branch information
stewones and markemer committed Apr 5, 2023
1 parent ba0b932 commit bbf6f7e
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -338,7 +338,6 @@ public Map<String, List<String>> getHeaderFields() {
* This is called as early as possible to allow overrides by user-provided values.
*/
private void setDefaultRequestProperties() {
connection.setRequestProperty("Accept-Charset", StandardCharsets.UTF_8.name());
String acceptLanguage = buildDefaultAcceptLanguageProperty();
if (!TextUtils.isEmpty(acceptLanguage)) {
connection.setRequestProperty("Accept-Language", acceptLanguage);
Expand Down

0 comments on commit bbf6f7e

Please sign in to comment.