We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2113a70 + 2a2ef2e commit ec38f6cCopy full SHA for ec38f6c
requests_oauthlib/oauth2_session.py
@@ -339,7 +339,7 @@ def fetch_token(
339
340
headers = headers or {
341
"Accept": "application/json",
342
- "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8",
+ "Content-Type": "application/x-www-form-urlencoded",
343
}
344
self.token = {}
345
request_kwargs = {}
@@ -440,7 +440,7 @@ def refresh_token(
440
if headers is None:
441
headers = {
442
443
- "Content-Type": ("application/x-www-form-urlencoded;charset=UTF-8"),
+ "Content-Type": ("application/x-www-form-urlencoded"),
444
445
446
r = self.post(
0 commit comments