Content-length headers
Message-ID: <59563d8b.hQUc0RE2qQFwWk+L%lm(a)mathias-kettner.de>
User-Agent: Heirloom mailx 12.5 6/20/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Module: check_mk
Branch: master
Commit: c815b0f866d8c887807a8c1475d59540c2eff87b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c815b0f866d8c8…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jun 30 13:49:18 2017 +0200
Fixed JS warning messages in firefox related to Connection/Content-length headers
Change-Id: Ic9dfcf37338683de906e963823d15bfdd46046a1
---
web/htdocs/js/checkmk.js | 2 --
1 file changed, 2 deletions(-)
diff --git a/web/htdocs/js/checkmk.js b/web/htdocs/js/checkmk.js
index 601cd24..0fc4d75 100644
--- a/web/htdocs/js/checkmk.js
+++ b/web/htdocs/js/checkmk.js
@@ -482,8 +482,6 @@ function call_ajax(url, optional_args)
if (args.method == "POST") {
AJAX.setRequestHeader("Content-type",
"application/x-www-form-urlencoded");
- AJAX.setRequestHeader("Content-length", args.post_data.length);
- AJAX.setRequestHeader("Connection", "close");
}
if (!args.sync) {