mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-13 08:56:40 +08:00
c5f3a413bc00acf9ac1046fb15b454096a8890c6
$xhr header defaults are now exposed as $xhr.defaults.headers.common and $xhr.default.headers.<httpmethod>. This allows applications to configure their defaults as needed. This commit doesn't allow headers to be set per request, only per application. Per request change would require api change, which I tried to avoid *for now*.
Angular
Compiling
rake compile
Running Tests
rake server:start
rake test
Languages
JavaScript
98.8%
HTML
0.6%
Shell
0.4%
PHP
0.1%