currently, uptimekuma sends http request without "accept-encoding" header.
which means, response is received without compression, in plain text, which can waste bandwidth.
✔️ Solution
Add the "Accept-Encoding: gzip" header to HTTP request headers globally by default, and provide an option to disable it. It would be great to support other compression methods besides gzip(br, zstd)
📑 I have found these related issues/pull requests
can't find any related issue.
🏷️ Feature Request Type
Settings
🔖 Feature description
currently, uptimekuma sends http request without "accept-encoding" header.
which means, response is received without compression, in plain text, which can waste bandwidth.
✔️ Solution
Add the "Accept-Encoding: gzip" header to HTTP request headers globally by default, and provide an option to disable it. It would be great to support other compression methods besides gzip(br, zstd)
https://caniuse.com/zstd https://caniuse.com/?search=brotli
❓ Alternatives
The current workaround is to manually add an HTTP request header for every single monitor, as shown below.
Decompression is done automatically for gzip without modifying uptimekuma (but not for br or zstd).
📝 Additional Context
No response