httpx/tests
Adrian Garcia Badaracco 0f1ff50a1e
Allow custom headers in multipart/form-data requests (#1936)
* feat: allow passing multipart headers

* Add test for including content-type in headers

* lint

* override content_type with headers

* compare tuples based on length

* incorporate suggestion

* remove .title() on headers
2022-01-13 08:49:14 +00:00
..
client Fix typos (#1968) 2021-12-14 15:04:01 +01: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 Fix for stream uploads that subclass SyncByteStream/AsyncByteStream (#2016) 2022-01-06 14:06:35 +00: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 Allow custom headers in multipart/form-data requests (#1936) 2022-01-13 08:49:14 +00: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 Fix typos (#1968) 2021-12-14 15:04:01 +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