update Accept-Encoding header to include Brotli compression

This commit is contained in:
Flummi committed 2025-03-18 13:14:32 +01:00
1 parent c395eef497
commit 68f345d396
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ export default async (
headers: {
...options.headers,
...(body ? { "Content-Length": Buffer.byteLength(body) } : {}),
"Accept-Encoding": "gzip, deflate"
"Accept-Encoding": "br, gzip, deflate"
}
};