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