From 3138d423ee33847452cd22995079563509f74646 Mon Sep 17 00:00:00 2001 From: Sefa Ilkimen Date: Mon, 2 Oct 2017 11:09:05 +0200 Subject: [PATCH] temporary removed patch method in www interface --- www/advanced-http.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/advanced-http.js b/www/advanced-http.js index 05581ad..c836b94 100644 --- a/www/advanced-http.js +++ b/www/advanced-http.js @@ -201,6 +201,9 @@ var http = { return exec(onSuccess, onFail, 'CordovaHttpPlugin', 'put', [url, data, this.dataSerializer, headers, this.timeoutInSeconds]); }, +/* + * Disabled because PATCH method is not implemented for iOS + * patch: function (url, data, headers, success, failure) { handleMissingCallbacks(success, failure); @@ -213,7 +216,8 @@ var http = { var onFail = injectCookieHandler(url, failure); return exec(onSuccess, onFail, 'CordovaHttpPlugin', 'patch', [url, data, this.dataSerializer, headers]); - }, + }, +*/ delete: function (url, params, headers, success, failure) { handleMissingCallbacks(success, failure);