Supports brotli compression

Adds bortli as a submodules, and compiles the decoder, making it available to
libcurl.

Some websites appear to sent brotli encoded responses even though we don't
advertise support for it (e.g. https://movie.douban.com).
This commit is contained in:
Karl Seguin
2025-10-06 12:30:06 +08:00
parent 432e3c3a5e
commit a3939d9a66
4 changed files with 49 additions and 0 deletions

3
.gitmodules vendored
View File

@@ -31,3 +31,6 @@
[submodule "vendor/curl"]
path = vendor/curl
url = https://github.com/curl/curl.git
[submodule "vendor/brotli"]
path = vendor/brotli
url = https://github.com/google/brotli