Merge pull request #80 from dmduran12/feature/bulk-packets-gzip

This commit is contained in:
Lloyd
2026-02-03 19:37:44 +00:00
committed by GitHub
+6
View File
@@ -299,6 +299,12 @@ class HTTPStatsServer:
"/api": {
"tools.require_auth.on": True,
},
# Enable gzip for bulk packet downloads
"/api/bulk_packets": {
"tools.gzip.on": True,
"tools.gzip.mime_types": ["application/json"],
"tools.gzip.compress_level": 6,
},
# Public documentation endpoints (no auth required)
"/api/openapi": {
"tools.require_auth.on": False,