Skip to content

Commit

Permalink
Merge pull request #45 from voipro/fix-oauth2-content-type
Browse files Browse the repository at this point in the history
Rename header Content-type to Content-Type.
  • Loading branch information
sarumont committed May 27, 2014
2 parents 8a1c24f + 3e0369f commit 8098af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trello/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def fetch_json(
""" Fetch some JSON from Trello """

if http_method in ("POST", "PUT", "DELETE"):
headers['Content-type'] = 'application/json'
headers['Content-Type'] = 'application/json'

headers['Accept'] = 'application/json'
url = self.build_url(uri_path, query_params)
Expand Down

0 comments on commit 8098af2

Please sign in to comment.