AmpersandJS / ampersand-sync

Provides sync behavior for updating data from ampersand models and collections to the server.
http://ampersandjs.com
MIT License
20 stars 28 forks source link

Headers can be duplicated, sync treats them as case-sensitive #53

Closed naugtur closed 9 years ago

naugtur commented 9 years ago

https://github.com/AmpersandJS/ampersand-sync/blob/master/core.js#L82 merges user-defined headers with defaults. If case differs, a header will be set twice.

Also, both xhr and request always return lowercase headers