disable keep alive

This commit is contained in:
lxsang 2021-05-06 19:44:38 +02:00
parent 54152e1d9c
commit 6c59bbd5d6

View File

@ -1138,7 +1138,7 @@ namespace OS {
return $.ajax({
type: "POST",
url: p,
headers: { 'Cache-Control': 'no-cache'},
headers: { 'Connection': 'close'},
contentType: "application/json",
data: JSON.stringify(
d,
@ -1226,8 +1226,8 @@ namespace OS {
return $.ajax({
url: p,
data: formd,
headers: { 'Cache-Control': 'no-cache'},
type: "POST",
headers: { 'Connection': 'close'},
contentType: false,
processData: false,
})