fix LZPF compression

This commit is contained in:
zefie
2025-07-23 22:56:00 -04:00
parent ac1a1a877e
commit 154ce7706f
5 changed files with 707 additions and 530 deletions

View File

@@ -64,7 +64,7 @@ class WTVMime {
// should we bother to compress?
var content_type = "";
if (typeof (headers_obj) == 'string') content_type = headers_obj;
else content_type = (typeof (headers_obj["wtv-modern-content-type"]) != 'undefined') ? headers_obj["wtv-modern-content-type"] : headers_obj["Content-Type"];
else content_type = (typeof (headers_obj["wtv-modern-content-type"]) != 'undefined') ? headers_obj["wtv-modern-content-type"] : headers_obj["Content-type"];
if (content_type) {
// both lzpf and gzip