diff --git a/docs-web/src/main/webapp/src/app/docs/app.js b/docs-web/src/main/webapp/src/app/docs/app.js index 0b6aa2a7..db15cc37 100644 --- a/docs-web/src/main/webapp/src/app/docs/app.js +++ b/docs-web/src/main/webapp/src/app/docs/app.js @@ -462,6 +462,9 @@ angular.module('docs', // Configuring $http to act like jQuery.ajax $httpProvider.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=utf-8'; $httpProvider.defaults.headers.put['Content-Type'] = 'application/x-www-form-urlencoded;charset=utf-8'; + $httpProvider.defaults.headers.delete = { + 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8' + }; $httpProvider.defaults.transformRequest = [function(data) { var param = function(obj) { var query = ''; diff --git a/docs-web/src/main/webapp/src/app/share/app.js b/docs-web/src/main/webapp/src/app/share/app.js index 446e7e74..529d1c3b 100644 --- a/docs-web/src/main/webapp/src/app/share/app.js +++ b/docs-web/src/main/webapp/src/app/share/app.js @@ -88,6 +88,9 @@ angular.module('share', // Configuring $http to act like jQuery.ajax $httpProvider.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=utf-8'; $httpProvider.defaults.headers.put['Content-Type'] = 'application/x-www-form-urlencoded;charset=utf-8'; + $httpProvider.defaults.headers.delete = { + 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8' + }; $httpProvider.defaults.transformRequest = [function(data) { var param = function(obj) { var query = '';