send 'wtv-trusted: false' with http(s) responses

This commit is contained in:
zefie
2022-03-18 15:07:11 -04:00
parent a3c5e437e8
commit a91b57764d

View File

@@ -618,6 +618,7 @@ async function doHTTPProxy(socket, request_headers) {
'Last-Modified'
]);
headers["wtv-http-proxy"] = true;
headers["wtv-trusted"] = false;
// if Connection: close header, set our internal variable to close the socket
if (headers['Connection']) {