aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/http.js
diff options
context:
space:
mode:
authorcgwyllie2014-02-13 09:38:10 +0000
committerlinclark2014-03-24 18:52:51 -0400
commit76dbb6e395040742e7ca7be4b6d6d397bf5a7006 (patch)
tree5ec6054e04a379bf4c0b3944109012ac299feb71 /src/ng/http.js
parent4a6d4de53ed1472c0cb2323292127495619d7ed9 (diff)
downloadangular.js-76dbb6e395040742e7ca7be4b6d6d397bf5a7006.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'
* });
* ```
*