httpx/tests
Michiel W. Beijen 392dbe45f0
Add support for zstd decoding (#3139)
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>
2024-03-21 10:17:15 +00:00
..
client Add support for zstd decoding (#3139) 2024-03-21 10:17:15 +00:00
fixtures Add NetRCAuth() class. (#2535) 2023-01-12 11:27:46 +00:00
models Cleanup URL percent-encoding behavior. (#2990) 2023-12-15 11:35:16 +00:00
__init__.py Drop RedirectLoop exception (#819) 2020-02-24 10:09:52 +00:00
common.py Use relative tests directory references (#1052) 2020-07-16 16:28:31 +02:00
concurrency.py use # pragma: no cover instead of # pragma: nocover (#2471) 2022-11-29 10:23:18 -06:00
conftest.py Drop private imports in tests/conftest.py (#2569) 2023-02-09 15:54:53 +00:00
test_api.py Typing: enable disallow_untyped_calls (#2479) 2022-12-02 10:47:42 +00:00
test_asgi.py Add support for zstd decoding (#3139) 2024-03-21 10:17:15 +00:00
test_auth.py format (#3131) 2024-03-01 19:49:23 +00:00
test_config.py Ruff linter: Use the default line-length (#2922) 2023-11-29 13:28:31 +04:00
test_content.py Enabling ruff C416 (#3001) 2023-12-13 11:30:39 +00:00
test_decoders.py Add support for zstd decoding (#3139) 2024-03-21 10:17:15 +00:00
test_exceptions.py Use __future__.annotations (#3068) 2024-01-24 14:30:22 +00:00
test_exported_members.py Drop private imports from test_exported_members.py (#2573) 2023-02-09 16:00:27 +00:00
test_main.py Add support for zstd decoding (#3139) 2024-03-21 10:17:15 +00:00
test_multipart.py format (#3131) 2024-03-01 19:49:23 +00:00
test_status_codes.py Typing: enable strict_equality (#2480) 2022-12-02 08:45:28 +00:00
test_timeouts.py Fix client.send() timeout new Request instance (#3116) 2024-02-26 16:36:58 +00:00
test_utils.py test same_origin via public api (#3062) 2024-02-23 14:16:03 +00:00
test_wsgi.py Deprecate app=... in favor of explicit WSGITransport/ASGITransport. (#3050) 2024-02-02 13:29:41 +00:00