Move download list stuff to WTVDownloadList class

- easier to create your own download list in JS
- possible future client upload ability via PUT
This commit is contained in:
zefie
2021-08-10 13:31:29 -04:00
parent e53de05d76
commit 83f44d7867
4 changed files with 258 additions and 67 deletions

View File

@@ -720,8 +720,7 @@ function shouldWeCompress(ssid, headers_obj) {
// gzip only
if (content_type.match(/^audio\/(x-)?[s3m|mod|xm]$/)) compress_data = true; // s3m, mod, xm
if (content_type.match(/^audio\/(x-)?[midi|wav|wave]$/)) compress_data = true; // midi & wav
if (content_type.match(/^binary\/x-wtv-approm$/)) compress_data = true; // midi & wav
if (content_type.match(/^binary\/x-wtv-approm$/)) compress_data = true; // approms
}
}
}