diff options
| author | Igor Minar | 2013-07-12 17:42:37 -0700 | 
|---|---|---|
| committer | Igor Minar | 2013-07-12 17:42:37 -0700 | 
| commit | 514dc0eb16a8fe3fa7c44094d743714f73754321 (patch) | |
| tree | 0429ae8755cab26ae276e7eab7d2c3b7ccfc1603 /src/ng/http.js | |
| parent | 77c715d7caedf9dd56b07b451dc47480cac5aaff (diff) | |
| download | angular.js-514dc0eb16a8fe3fa7c44094d743714f73754321.tar.bz2 | |
fix($http): allow interceptors to completely override headers
Closes #2770
Diffstat (limited to 'src/ng/http.js')
| -rw-r--r-- | src/ng/http.js | 1 | 
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 | 
