emberjs/data — pull request #1819 by roblevintennis (2014-03-20 06:52:50+00:00)
Title: Added one failing spec (and one that passes for clarification purposes)

In https://github.com/emberjs/data/blob/master/packages/ember-data/lib/adapters/rest_adapter.js#L88 (and elsewhere in that same file), achieving Headers Customization is advised to be done by reopening the adapter class. However, this does not seem to work.

This PR is just one failing test, and one passing (an example of how you can achieve this with ugly reach on to `prototype.setProperties` of said adapter [not ideal of course]). You could of course just hijack `ajax` and `hash.beforeSend` and call `_super` but this seems neither idiomatic or ideal.

I'm happy to work more on this and provide a solution, but as a newcomer want to first have bug acknowledged and also be advised any preferred approaches before starting on implementing. Thanks.