httpx/tests/models
Tom Christie 0cbf3c7581
Sync or Async dispatch (#83)
* Support thread-pooled dispatch

* Add ConcurrencyBackend.run

* Initial work towards support byte-iterators on sync request data

* Test case for byte iterator content

* byte iterator support for RequestData

* Add BaseResponse

* Bridge sync/async data in SyncResponse

* Add BaseClient

* SyncResponse -> Response

* Tweaking type annotation

* Distinct classes for Request, AsyncRequest

* Tweak is_streaming, content in BaseRequest

* Stream handling moves to client

* Handle mediating to AsyncResponse from a standard sync Dispatcher class

* Working on thread-pooled dispatcher

* Support threaded dispatch, inc. streaming requests/responses

* Increase test coverage

* Coverage and tweaks

* Include Accept and User-Agent headers by default
2019-06-10 12:26:03 +01:00
..
__init__.py Tweak test naming 2019-05-17 13:49:24 +01:00
test_cookies.py Cookie support (#73) 2019-05-17 12:51:00 +01:00
test_headers.py Remove print 2019-05-08 17:31:06 +02:00
test_queryparams.py Add QueryParams class 2019-05-08 12:01:48 +01:00
test_requests.py Sync or Async dispatch (#83) 2019-06-10 12:26:03 +01:00
test_responses.py Sync or Async dispatch (#83) 2019-06-10 12:26:03 +01:00
test_url.py query_params -> params 2019-05-17 13:09:31 +01:00