aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/http.js
AgeCommit message (Collapse)Author
2012-05-04chore(docs): re-skin main documentationMisko Hevery
2012-04-11docs($http): fix return typesIgor Minar
2012-04-11feat($http): expose the defaults config as $http.defaultsIgor Minar
Often it is impossible to set the http defaults during the config phase, because the config info is not available at this time. A good example is authentication - often the app needs to bootstrap, allow user to enter credentials and only then it gains access to session token which then should be sent to the server with every request. Without having the ability to set the defaults at runtime, the developer either has to resort to hacks, or has to set the session token header with every request made by the app.
2012-04-04feat($http): add withCredentials config optionVojta Jina
2012-03-28feat($http): make the transform defaults to an arrayIgor Minar
$httpProvider.defaults.transformRequest and $httpProvider.defaults.transformResponse are now arrays containing single function. This makes it easy to add an extra transform fn. adding an extra fn before had to be done in this cluncky way: $httpProvider.defaults.transformResponse = [$httpProvider.defaults.transformResponse, myTransformFn]; after this change, it's simply: $httpProvider.defaults.transformResponse.push(myTransformFn);
2012-03-28style($http): remove redundant 'use strict' headerIgor Minar
2012-03-28chore(Rakefile): get ready for modulesMisko Hevery
2012-03-28chore(module): move files around in preparation for more modulesMisko Hevery