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.
1 parent 46f886c commit 2a2ef2eCopy full SHA for 2a2ef2e
requests_oauthlib/oauth2_session.py
@@ -325,7 +325,7 @@ def fetch_token(
325
326
headers = headers or {
327
"Accept": "application/json",
328
- "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8",
+ "Content-Type": "application/x-www-form-urlencoded",
329
}
330
self.token = {}
331
request_kwargs = {}
@@ -426,7 +426,7 @@ def refresh_token(
426
if headers is None:
427
headers = {
428
429
- "Content-Type": ("application/x-www-form-urlencoded;charset=UTF-8"),
+ "Content-Type": ("application/x-www-form-urlencoded"),
430
431
432
r = self.post(
0 commit comments