documentcloud/backbone — pull request #1091 by phreeza (2012-03-11 21:59:28+00:00)
Title: Set correct Content-Type header when syncing

Since Backbone's default sync always send JSON to the server, the Content Type should be application/json. Jquery uses application/x-www-form-urlencoded by default. This patch overrides the default and sets it up to indicate json.