mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-20 07:16:03 +00:00
01_FHEMWEB.js: add json and xml to compress list (Forum #65345)
git-svn-id: https://svn.fhem.de/fhem/trunk@13416 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3e2c7a3a1b
commit
cfdb441991
@ -527,9 +527,7 @@ FW_Read($$)
|
||||
}
|
||||
|
||||
my $compressed = "";
|
||||
if(($FW_RETTYPE =~ m/text/i ||
|
||||
$FW_RETTYPE =~ m/svg/i ||
|
||||
$FW_RETTYPE =~ m/script/i) &&
|
||||
if($FW_RETTYPE =~ m/(text|xml|json|svg|script)/i &&
|
||||
($FW_httpheader{"Accept-Encoding"} &&
|
||||
$FW_httpheader{"Accept-Encoding"} =~ m/gzip/) &&
|
||||
$FW_use_zlib) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user