simplegeo/python-oauth2 — pull request #105 by ferrix (2012-01-21 07:34:49+00:00)
Title: Two patches to make the client work better with a picky resource

I have a picky backend that has two features not supported by the Client class.

a) It wants JSON in the POST body instead of x-www-form-encoded, so I peek into the headers and don't overwrite Content-Type if it is already set, default behavior remains
b) cares about the Authentication realm bit, I added a parameter that sets the realm in the request, default behavior remains.