summaryrefslogtreecommitdiff
path: root/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py
diff options
context:
space:
mode:
authorHsiaoming Yang <me@lepture.com>2013-10-12 21:28:07 +0800
committerHsiaoming Yang <me@lepture.com>2013-10-12 21:28:07 +0800
commit23d6cb819dae4f2f7a1b23769a7eec5679a7c311 (patch)
tree66a8f2ebd4ab9e43acc837a5d9976f872d846685 /oauthlib/oauth2/rfc6749/grant_types/client_credentials.py
parentf66c1e33eedc71e2ff75ea924cd4cbdbf10d4086 (diff)
downloadoauthlib-23d6cb819dae4f2f7a1b23769a7eec5679a7c311.tar.gz
JSON content type has no charset.
Diffstat (limited to 'oauthlib/oauth2/rfc6749/grant_types/client_credentials.py')
-rw-r--r--oauthlib/oauth2/rfc6749/grant_types/client_credentials.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py b/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py
index e69e29d..c00d067 100644
--- a/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py
+++ b/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py
@@ -62,7 +62,7 @@ class ClientCredentialsGrant(GrantTypeBase):
.. _`Section 5.2`: http://tools.ietf.org/html/rfc6749#section-5.2
"""
headers = {
- 'Content-Type': 'application/json;charset=UTF-8',
+ 'Content-Type': 'application/json',
'Cache-Control': 'no-store',
'Pragma': 'no-cache',
}