get rid of brotli due to poor support; closes #73

some reverse-proxies expect plaintext replies, and
we don't have a brotli decompressor to satisfy this

additionally, because brotli is https-gated (thx google),
it was already an impractical mess anyways

the sfx is now 7 KiB larger
This commit is contained in:
ed
2024-02-24 22:24:44 +00:00
parent e5582605cd
commit ac96fd9c96
7 changed files with 12 additions and 34 deletions

View File

@@ -191,7 +191,7 @@ class HttpSrv(object):
for fn in df:
ap = absreal(os.path.join(dp, fn))
self.statics.add(ap)
if ap.endswith(".gz") or ap.endswith(".br"):
if ap.endswith(".gz"):
self.statics.add(ap[:-3])
def set_netdevs(self, netdevs: dict[str, Netdev]) -> None: