diff options
| author | Dmitry Kichenko | 2013-11-01 10:59:33 -0400 | 
|---|---|---|
| committer | Pete Bacon Darwin | 2013-11-04 22:28:34 +0000 | 
| commit | 8cfaeb0e82257891940124e5dd4395953277628c (patch) | |
| tree | 1664446b6c7fba233a7231b480acb81ee8b50e58 /src | |
| parent | 159a63f538a2880f1977f78f0223b47d6666be81 (diff) | |
| download | angular.js-8cfaeb0e82257891940124e5dd4395953277628c.tar.bz2 | |
docs($http): note that default $http headers can be overridden
Closes #4750
Diffstat (limited to 'src')
| -rw-r--r-- | src/ng/http.js | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/src/ng/http.js b/src/ng/http.js index 9f7880f7..780f5561 100644 --- a/src/ng/http.js +++ b/src/ng/http.js @@ -290,8 +290,9 @@ function $HttpProvider() {       * with the lowercased HTTP method name as the key, e.g.       * `$httpProvider.defaults.headers.get = { 'My-Header' : 'value' }.       * -     * Additionally, the defaults can be set at runtime via the `$http.defaults` object in the same -     * fashion. +     * The defaults can also be set at runtime via the `$http.defaults` object in the same +     * fashion. In addition, you can supply a `headers` property in the config object passed when +     * calling `$http(config)`, which overrides the defaults without changing them globally.       *       *       * # Transforming Requests and Responses | 
