From 48ec8fe0e57850cd4e5e5e6de3842651ea0c786a Mon Sep 17 00:00:00 2001 From: Dennis Ruhe Date: Thu, 13 Sep 2018 16:32:51 +0200 Subject: [PATCH] Fixed delete method forcing JSON content type --- src/http/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/index.js b/src/http/index.js index df4743de..9cb80fae 100644 --- a/src/http/index.js +++ b/src/http/index.js @@ -55,7 +55,7 @@ Http.headers = { put: JSON_CONTENT_TYPE, post: JSON_CONTENT_TYPE, patch: JSON_CONTENT_TYPE, - delete: JSON_CONTENT_TYPE, + delete: COMMON_HEADERS, common: COMMON_HEADERS, custom: {} };