httpx/tests
Tom Christie c26425aa58
Handle data={"key": [None|int|float|bool]} cases. (#1539)
* Fix Content-Length for unicode file contents with multipart

* Handle bool and None cases for URLEncoded data

* Handle int, float, bool, and None for multipart or urlencoded data

* Update httpx/_utils.py

Co-authored-by: Florimond Manca <florimond.manca@gmail.com>

Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
2021-03-26 12:54:04 +00:00
..
client Transport API (#1522) 2021-03-24 12:36:34 +00:00
fixtures Use relative tests directory references (#1052) 2020-07-16 16:28:31 +02:00
models Transport API (#1522) 2021-03-24 12:36:34 +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 Increase test coverage - take 2 (#1012) 2020-06-02 10:24:45 +01:00
conftest.py Transport API (#1522) 2021-03-24 12:36:34 +00:00
test_api.py Seperate content=... and data=... parameters (#1266) 2020-09-15 13:36:10 +01:00
test_asgi.py Transport API (#1522) 2021-03-24 12:36:34 +00: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 Add keepalive_expiry to Limits config (#1398) 2020-11-25 15:32:37 +00:00
test_content.py Handle data={"key": [None|int|float|bool]} cases. (#1539) 2021-03-26 12:54:04 +00:00
test_decoders.py Transport API (#1522) 2021-03-24 12:36:34 +00:00
test_exceptions.py Transport API (#1522) 2021-03-24 12:36:34 +00:00
test_exported_members.py Add exported members test (#1179) 2020-08-15 12:24:26 +02:00
test_multipart.py Handle data={"key": [None|int|float|bool]} cases. (#1539) 2021-03-26 12:54:04 +00:00
test_status_codes.py Single consistent name for status codes (#1088) 2020-07-27 14:35:01 +01:00
test_timeouts.py Version 0.15.0 (#1301) 2020-09-22 11:44:28 +01:00
test_utils.py Drop request.timer attribute. (#1249) 2020-09-07 09:06:14 +01:00
test_wsgi.py Handle default ports in WSGITransport (#1469) 2021-02-16 13:33:17 +01:00
utils.py Add httpx.MockTransport() (#1401) 2021-01-06 11:04:26 +00:00