aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/http.js
diff options
context:
space:
mode:
authorPawel Kozlowski2014-02-21 22:24:27 +0100
committerIgor Minar2014-02-21 14:42:03 -0800
commit267b217376ed466e9f260ecfdfa15a8227c103ff (patch)
tree15eeb7ec88c1afb503369474a72cb78813af5fa0 /src/ng/http.js
parent2f4513339337bb8aa6c9dfe1191d169b4fc57999 (diff)
downloadangular.js-267b217376ed466e9f260ecfdfa15a8227c103ff.tar.bz2
fix($http): send GET requests by default
Fixes #5985 Closes #6401
Diffstat (limited to 'src/ng/http.js')
-rw-r--r--src/ng/http.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ng/http.js b/src/ng/http.js
index a8b1d9df..defe43dc 100644
--- a/src/ng/http.js
+++ b/src/ng/http.js
@@ -664,6 +664,7 @@ function $HttpProvider() {
*/
function $http(requestConfig) {
var config = {
+ method: 'get',
transformRequest: defaults.transformRequest,
transformResponse: defaults.transformResponse
};