SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 94 JavaScript

fix($httpBackend): don't send empty string bodies

The `XMLHttpRequest.send` spec defines different semantics for `null`
than for an empty String: an empty String should be sent with a
`Content-Type` of `text/plain`, whereas `null` should have no
`Content-Type` header set.

Closes #2149
J
James Roper committed
0d0330adc24a68cd6891a030a56d3ce3bbced03c
Parent: 0ca5426
Committed by Brian Ford <btford@umich.edu> on 10/1/2013, 6:28:21 PM