send 'wtv-trusted: false' with http(s) responses
This commit is contained in:
@@ -618,6 +618,7 @@ async function doHTTPProxy(socket, request_headers) {
|
|||||||
'Last-Modified'
|
'Last-Modified'
|
||||||
]);
|
]);
|
||||||
headers["wtv-http-proxy"] = true;
|
headers["wtv-http-proxy"] = true;
|
||||||
|
headers["wtv-trusted"] = false;
|
||||||
|
|
||||||
// if Connection: close header, set our internal variable to close the socket
|
// if Connection: close header, set our internal variable to close the socket
|
||||||
if (headers['Connection']) {
|
if (headers['Connection']) {
|
||||||
|
|||||||
Reference in New Issue
Block a user