aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/http.js
AgeCommit message (Collapse)Author
2013-09-25docs($http): fix adding default header to get request exampleMr.Raindrop
Initially, `$httpProvider.defaults.headers.get` is `undefined`, so `$httpProvider.defaults.headers.get['My-Header']='value'` will throw an error. Closes #4101
2013-09-13docs($http): add examples when calling $http outside $applyPete Bacon Darwin
Closes #3996
2013-09-13docs($http): explain why $http may not make the request immediatelyDang Nguyen Anh Khoa
I came across this issue today and after researching has found out this thread on so: http://stackoverflow.com/questions/17039998/angular-not-making-http-requests-immediately. It took me quite sometimes to figure out this so I hope the addition in documentation could save somebody else some times and frustration.
2013-09-02fix($http): allow empty responses to be cachedjankuca
Closes #3809
2013-08-14docs($http): added return to interceptors success callbackMikk Kirstein
2013-06-19fix($http): ensure case-insens. header overridingCaio Cunha
If user send content-type header, both content-type and default Content-Type headers were sent. Now default header overriding is case-insensitive.
2013-04-11docs(http): spelling, grammar, capitalization, etc.Artur Ostrega
Conflicts: src/ng/http.js
2013-04-11docs($http): fix a typoChad Whitacre
2013-03-06docs($http): add more info about transform functionIgor Minar
2013-01-03docs($http): clarify documentation on error status codesPer RovegÄrd
Modify the documentation for $http to correspond to what Angular considers a success status code. Closes #1693
2012-12-06docs($http): fix link typo in $http docJeremy Tymes
Should be $httpBackend instead of $httpBacked Closes #1516
2012-06-12docs(*): simplify doc urlsIgor Minar
we now have two types of namespaces: - true namespace: angular.* - used for all global apis - virtual namespace: ng.*, ngMock.*, ... - used for all DI modules the virual namespaces have services under the second namespace level (e.g. ng.) and filters and directives prefixed with filter: and directive: respectively (e.g. ng.filter:orderBy, ng.directive:ngRepeat) this simplifies urls and makes them a lot shorter while still avoiding name collisions
2012-06-08fix($http): add utf-8 to default Content-Type header (post/put)Vojta Jina
This fixes special characters issue with MongoLab. https://groups.google.com/d/topic/angular/1T6h7bfZ7Rs/discussion
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