aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng')
-rw-r--r--src/ng/httpBackend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/httpBackend.js b/src/ng/httpBackend.js
index 37108209..99da6549 100644
--- a/src/ng/httpBackend.js
+++ b/src/ng/httpBackend.js
@@ -83,7 +83,7 @@ function createHttpBackend($browser, XHR, $browserDefer, callbacks, rawDocument,
xhr.responseType = responseType;
}
- xhr.send(post || '');
+ xhr.send(post || null);
}
if (timeout > 0) {