httpx/tests
Tom Christie 6f5865f860
Read upload files using read(CHUNK_SIZE) rather than iter(). (#1948)
* Cap upload chunk sizes

* Use '.read' for file streaming, where possible

* Direct iteration should not apply chunk sizes
2021-11-22 13:15:39 +00:00
..
client Version 0.21 (#1935) 2021-11-15 14:30:54 +00:00
fixtures Use relative tests directory references (#1052) 2020-07-16 16:28:31 +02:00
models is_informational / is_success / is_redirect / is_client_error / is_server_error (#1854) 2021-09-13 13:52:58 +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 Increase test coverage - take 2 (#1012) 2020-06-02 10:24:45 +01:00
conftest.py Add cli support (#1855) 2021-09-14 09:44:43 +01:00
test_api.py Seperate content=... and data=... parameters (#1266) 2020-09-15 13:36:10 +01:00
test_asgi.py Transport API as plain request -> response method. (#1840) 2021-09-13 13:34:46 +01:00
test_auth.py Add support for sync-specific or async-specific auth flows (#1217) 2020-09-09 14:37:20 +01:00
test_config.py Drop mode argument, 'httpx.Proxy(..., mode=...)' (#1795) 2021-08-13 11:34:56 +01:00
test_content.py Read upload files using read(CHUNK_SIZE) rather than iter(). (#1948) 2021-11-22 13:15:39 +00:00
test_decoders.py Use either brotli or brotlicffi. (#1618) 2021-08-13 11:52:45 +01:00
test_exceptions.py Version 0.21 (#1935) 2021-11-15 14:30:54 +00:00
test_exported_members.py Add exported members test (#1179) 2020-08-15 12:24:26 +02:00
test_main.py Version 0.21 (#1935) 2021-11-15 14:30:54 +00:00
test_multipart.py enforce-upload-files-binary-type (#1736) 2021-08-13 11:27:42 +01:00
test_status_codes.py Escalate 0.17 deprecation warnings to becoming fully deprecated. (#1597) 2021-04-26 11:03:11 +01:00
test_timeouts.py Version 0.21 (#1935) 2021-11-15 14:30:54 +00:00
test_utils.py Switch follow redirects default (#1808) 2021-09-13 13:21:22 +01:00
test_wsgi.py BUG: wsgi.error should be TextIO, not BytesIO in WSGI transport (#1828) 2021-09-07 15:44:35 +01:00
utils.py Add httpx.MockTransport() (#1401) 2021-01-06 11:04:26 +00:00