This adds support for zstd decoding using the python package zstandard. This is similar to how it is implemented in urllib3. I also chose the optional installation option httpx[zstd] to mimic the same option in urllib3. zstd decoding is similar to brotli, but in benchmarks it is supposed to be even faster. The zstd compression is described in RFC 8878. See https://github.com/encode/httpx/discussions/1986 Co-authored-by: Kamil Monicz <kamil@monicz.dev>
30 lines
679 B
Plaintext
30 lines
679 B
Plaintext
# We're pinning our tooling, because it's an environment we can strictly control.
|
|
# On the other hand, we're not pinning package dependencies, because our tests
|
|
# needs to pass with the latest version of the packages.
|
|
# Reference: https://github.com/encode/httpx/pull/1721#discussion_r661241588
|
|
-e .[brotli,cli,http2,socks,zstd]
|
|
|
|
# Optional charset auto-detection
|
|
# Used in our test cases
|
|
chardet==5.2.0
|
|
|
|
# Documentation
|
|
mkdocs==1.5.3
|
|
mkautodoc==0.2.0
|
|
mkdocs-material==9.5.12
|
|
|
|
# Packaging
|
|
build==1.1.1
|
|
twine==5.0.0
|
|
|
|
# Tests & Linting
|
|
coverage[toml]==7.4.3
|
|
cryptography==42.0.5
|
|
mypy==1.8.0
|
|
pytest==8.0.2
|
|
ruff==0.3.0
|
|
trio==0.24.0
|
|
trio-typing==0.10.0
|
|
trustme==1.1.0
|
|
uvicorn==0.27.1
|