aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/http.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/http.js')
-rw-r--r--src/ng/http.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ng/http.js b/src/ng/http.js
index d81b7912..a44da3a4 100644
--- a/src/ng/http.js
+++ b/src/ng/http.js
@@ -666,6 +666,7 @@ function $HttpProvider() {
var serverRequest = function(config) {
+ headers = config.headers;
var reqData = transformData(config.data, headersGetter(headers), config.transformRequest);
// strip content-type if data is undefined