emberjs/data — pull request #601 by enyo (2013-01-08 22:17:58+00:00)
Title: Only setting content-type to JSON if there actually is content

Since no content at all is not valid JSON.