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

Update dependency: xhr #74

Closed dhritzkiv closed 8 years ago

dhritzkiv commented 8 years ago

This version of xhr now passes null instead of undefined as a default body value to the send method of an instance of XMLHttpRequest. In most browsers, undefined had no ill-consequences when making a request, but as I discovered, Microsoft Edge was including undefined as the body of the request, which some servers don't like. null is a long-accepted way of indicating there is no body after the headers are sent.

See Raynos/xhr#100 for more.

naugtur commented 8 years ago

Haha you're quick :]

naugtur commented 8 years ago

released v4.0.3