angular.js/test
Rado Kirov 3a75b1124d fix($http): remove 'X-Requested-With' from header defaults
X-Requested-With header is rarely used in practice and by using
it all the time we are triggering preflight checks for crossdomain
requests.

We could try detecting if we are doing CORS requests or not, but
it doesn't look like it's worth the trouble.

BREAKING CHANGE: X-Requested-With header is not set by $http service
any more. If anyone actually uses this header it's quite easy to add
it back via:

```
myAppModule.config(['$httpProvider', function($httpProvider) {
    $httpProvider.defaults.headers.common["X-Requested-With"] = 'XMLHttpRequest';
}]);
```

Closes #1004
2012-11-26 23:36:40 +01:00
..
auto fix($injector): more conservative annotation parsing 2012-09-06 16:06:24 -07:00
bootstrap feat(bootstrap): support code prettify and dropdown from bootstrap 2012-05-04 15:50:37 -07:00
ng fix($http): remove 'X-Requested-With' from header defaults 2012-11-26 23:36:40 +01:00
ngCookies chore(ngCookies): moved to module 2012-03-28 11:16:36 -07:00
ngMock fix($defer): remove deprecated $defer service 2012-06-12 01:09:07 -07:00
ngResource fix($resource): prevent default params to be shared between actions 2012-11-24 21:27:24 +01:00
ngSanitize feat(linky): allow optional 'target' argument 2012-11-24 22:21:50 +01:00
ngScenario fix(jqLite): fire $destroy event via triggerHandler 2012-11-26 15:45:04 +01:00
AngularSpec.js test(bootstrap): test exception siling during bootstrap 2012-08-30 15:15:11 -07:00
ApiSpecs.js fix(ngRepeat): now works with primitive types 2012-09-06 16:06:21 -07:00
BinderSpec.js feat($interpolate): provide contextual error messages 2012-08-30 14:50:22 -07:00
jqLiteSpec.js fix(jqLite): support append on document fragment 2012-11-26 15:45:04 +01:00
jquery_alias.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jquery_remove.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jQueryPatchSpec.js chore(formating): clean code to be function() { 2011-10-11 11:01:46 -07:00
loaderSpec.js feat($controller): support controller registration via $controllerProvider 2012-03-26 15:23:29 -07:00
matchers.js fix(matchers.toHaveClass): Correct reference to angular.mock.dump 2012-03-19 17:26:29 -07:00
testabilityPatch.js fix(jqLite): have same expando format as jQuery 2012-05-17 10:36:45 -07:00