httpx/tests
xzmeng 59df8190a4
Raise ValueError on Response.encoding being set after Response.text has been accessed (#2852)
* Raise ValueError on change encoding

* Always raise ValueError for simplicity

* update CHANGELOG.md
2023-09-19 08:54:32 +01:00
..
client Drop private imports from test_proxies.py (#2850) 2023-09-16 21:58:56 +01:00
fixtures Add NetRCAuth() class. (#2535) 2023-01-12 11:27:46 +00:00
models Raise ValueError on Response.encoding being set after Response.text has been accessed (#2852) 2023-09-19 08:54:32 +01: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 Fix exception suppression in asgi transport (#2669) 2023-05-21 01:17:23 +01:00
test_auth.py Add cookies to the retried request when performing digest authentication. (#2846) 2023-09-15 10:52:11 +01:00
test_config.py Drop support for Python 3.7 (#2813) 2023-08-09 10:02:28 +01:00
test_content.py replace pytest-asyncio and pytest-trio with anyio (#2512) 2023-01-02 12:53:30 +00:00
test_decoders.py Drop private imports from test_decoders.py (#2570) 2023-04-19 14:16:29 +01:00
test_exceptions.py Use ruff instead of flake8, autoflake and isort (#2648) 2023-04-05 12:37:10 +02: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 Drop private imports from test_main.py (#2574) 2023-02-09 15:50:09 +00:00
test_multipart.py Drop private import of 'encode_request' in test_multipart (#2525) 2023-01-10 11:23:14 +00:00
test_status_codes.py Typing: enable strict_equality (#2480) 2022-12-02 08:45:28 +00:00
test_timeouts.py replace pytest-asyncio and pytest-trio with anyio (#2512) 2023-01-02 12:53:30 +00:00
test_urlparse.py Always encode forward slashes as %2F in query parameters (#2723) 2023-06-09 10:06:56 +01:00
test_utils.py fix: NO_PROXY should support IPv4, IPv6 and localhost (#2659) 2023-04-19 13:14:37 +01:00
test_wsgi.py Ensure all WSGITransport environs have a SERVER_PROTOCOL (#2708) 2023-05-19 11:38:18 +01:00