restlet/restlet-framework-java — pull request #619 by thughes (2012-07-12 17:41:14+00:00)
Title: Fix bug in OAUTH extension

The code that handles the response expects JSON, so we make sure to set
the type to JSON in the ACCEPT header. This makes the code work with
github OAUTH: http://developer.github.com/v3/oauth/.