aboutsummaryrefslogtreecommitdiffstats
path: root/src/formatters.js
diff options
context:
space:
mode:
authorMisko Hevery2010-09-15 18:12:04 +0200
committerMisko Hevery2010-09-16 00:20:35 +0200
commit21e78c443fc5ced77f1ae7e3fc1647f7d9a22115 (patch)
tree776143ea43a6ab9a241fe1c9ab1565fbf9d6f9f8 /src/formatters.js
parent2acce6a3346129b0b7a0954e9007531ca8f2b4fa (diff)
downloadangular.js-21e78c443fc5ced77f1ae7e3fc1647f7d9a22115.tar.bz2
Delete requests on resources pass this as data. Delete requests should not be passing data in the body of the response. The bug is here:
http://github.com/angular/angular.js/blob/master/src/Resource.js#L119 Instead of checking for !isGet you should be checking for !isPost. Also isPost should be isPostOrPut since only on those two methods should be sending a payload if I am not mistaken.
Diffstat (limited to 'src/formatters.js')
0 files changed, 0 insertions, 0 deletions