Using session capabilities to enable compression now

This commit is contained in:
Eric MacDonald
2021-08-07 19:43:22 -04:00
parent d5fa489b9c
commit a2f3ce67a1

View File

@@ -495,7 +495,7 @@ function headerStringToObj(headers, response = false) {
return headers_obj; return headers_obj;
} }
async function sendToClient(socket, headers_obj, data, compress_data = false) { async function sendToClient(socket, headers_obj, data) {
var headers = ""; var headers = "";
if (typeof (data) === 'undefined') data = ''; if (typeof (data) === 'undefined') data = '';
if (typeof (headers_obj) === 'string') { if (typeof (headers_obj) === 'string') {