SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

fix($httpBackend): send `null` when post-data is undefined

IE11 (and maybe others) converts an `undefined` argument to `xhr.send()` to
string (`'undefined'`) for certain request methods (e.g. DELETE). This
causes the request to appear having a body, when it shouldn't.

Fixes #12141
Fixes #12739

Closes
G
Georgios Kalpakas committed
6f39f1082773921e79b48a78aa6cd8a7d1921da7
Parent: c3a654b