aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/http.js
diff options
context:
space:
mode:
authorcgwyllie2014-02-13 09:38:10 +0000
committerlinclark2014-03-24 19:00:24 -0400
commit2c4b3573cc7ace60c74d10d7a0620c05f969aac1 (patch)
tree26d3d6d4163c0741f86f7b5fb6bde86cc66327b3 /src/ng/http.js
parentb2363e31023df8240113f68b4e01d942f8009b60 (diff)
downloadangular.js-2c4b3573cc7ace60c74d10d7a0620c05f969aac1.tar.bz2
docs($http): fix auth default headers example
Diffstat (limited to 'src/ng/http.js')
-rw-r--r--src/ng/http.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/http.js b/src/ng/http.js
index 9fcb4578..a7a15d7e 100644
--- a/src/ng/http.js
+++ b/src/ng/http.js
@@ -277,7 +277,7 @@ function $HttpProvider() {
*
* ```
* module.run(function($http) {
- * $http.defaults.headers.common.Authentication = 'Basic YmVlcDpib29w'
+ * $http.defaults.headers.common.Authorization = 'Basic YmVlcDpib29w'
* });
* ```
*