From a0da3240882184b461d70c519cc8ec0469be9367 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Mon, 18 May 2020 16:40:06 +0000
Subject: [PATCH] http post um passenden header ergaenzt

---
 web/ui2/js/app.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/web/ui2/js/app.js b/web/ui2/js/app.js
index 55cdea5..a817006 100644
--- a/web/ui2/js/app.js
+++ b/web/ui2/js/app.js
@@ -353,6 +353,7 @@
     if(method === 'GET')  {
       xhr.send();
     } else if(method === 'POST' || method === 'PUT') {
+      xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
       xhr.send(data);
     }
   };

--
Gitblit v1.9.3