From 46691c2721735c27426b721d780e8816d502b9f2 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 10 Jan 2012 10:17:05 -0800 Subject: fix($http): remove support for PATCH + better whenXXX, expectXXX api - there are too many unknowns about PATCH, so I'm dropping its support until we know that this is actually useful - expectGET, expectHEAD and expectJSON (and the same for whenXXX) should not require response data to be specified --- src/service/http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/service') diff --git a/src/service/http.js b/src/service/http.js index fec4fc8d..e9c49ec2 100644 --- a/src/service/http.js +++ b/src/service/http.js @@ -287,7 +287,7 @@ function $HttpProvider() { * @param {Object=} config Optional configuration object * @returns {XhrFuture} Future object */ - createShortMethods('get', 'delete', 'head', 'patch', 'jsonp'); + createShortMethods('get', 'delete', 'head', 'jsonp'); /** * @ngdoc method -- cgit v1.2.3