* replace pytest-asyncio with anyio
* remove pytest-trio also
* Update setup.cfg
* use anyio.Lock in test_auth
Co-authored-by: Tom Christie <tom@tomchristie.com>
* Typing: enable disallow_untyped_calls
Only the test suite needed adjusting to add type hints.
* Update setup.cfg
Co-authored-by: Tom Christie <tom@tomchristie.com>
* Make Request and Response picklable
* fixup! Make Request and Response picklable
* Apply suggestions from code review
* Apply suggestions from code review
* Update tests/models/test_requests.py
Co-authored-by: Tom Christie <tom@tomchristie.com>
* Support header comparisons with dict or list.
* Add check for no headers item
* Fixup testcases affected by headers comparison using dict or list
* Update test_responses.py
Co-authored-by: Tom Christie <tom@tomchristie.com>
* url.userinfo should be URL encoded bytes
* Neater copy_with implementation
* Finesse API around URL properties and copy_with
* Docstring for URL, and drop url.authority
* Support url.copy_with(raw_path=...)
* Docstrings on URL methods
* Tweak docstring
* BaseClient and AsyncClient
* Introduce 'httpx.Client'
* Top level API -> sync
* Top level API -> sync
* Add WSGI support, drop deprecated imports
* Wire up timeouts to urllib3
* Wire up pool_limits
* Add urllib3 proxy support
* Pull #734 into sync Client
* Update AsyncClient docstring
* Simpler WSGI implementation
* Set body=None when no content
* Wrap urllib3 connection/read exceptions
* 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
* Include URL.__hash__ in test
* Add test for URLs being used in a set
Remove hash assertion on test requests
* Cleanup models.py
* Use membership test instead of equality to avoid ordering problems