sarumont/py-trello — pull request #12 by metawake (2012-10-01 12:16:14+00:00)
Title: fetch_json() function refactoring

When making updates to trello, all calls excessively included
headers = {'Content-type' : 'application/json'} in each call to fetch_json().

Now default headers parameter still remains empty dictionary, but
if method is in POST/PUT/DELETE, {'Content-type' : 'application/json'} is set automatically.