* Add red test
* Make the test pass
* Lint
* chanelog
---------
Co-authored-by: Karen Petrosyan <92274156+karosis88@users.noreply.github.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
* fix: NO_PROXY supports IPv4, IPv6 and localhost
* add more tests for test_get_environment_proxies
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
* NetRCAuth class
* Add docs for httpx.NetRCAuth()
* Drop failing cross-domain test for NetRCAuth()
* Update tests
* Update httpx/_auth.py
* Add tests for netrc file with no password
* 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>
* Switch default on allow_redirects to False
* allow_redirects -> follow_redirects
* Update follow_redirects default in top-level API
* Update docs on follow_redirects
* Drop private Origin model
* Drop Origin from docs
* Update tests/test_utils.py
Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
* Drop full_path test
Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
* Fix HttpError -> HTTPError typo
* Increased test coverage
* Increase coverage threshold
* Reuse sync/async transport code in test_auth.py
* Removed close_client check inside StreamContextManager
It's never set as True when used in async
* Reuse sync/async transport code in test_redirects.py
* First pass as switching dispatchers over to httpcore interface
* Updates for httpcore interface
* headers in dispatch API as plain list of bytes
* Integrate against httpcore 0.6
* Integrate against httpcore interface
* Drop UDS, since not supported by httpcore
* Fix base class for mock dispatchers in tests
* Merge master and mark as potential '0.13.dev0' release
* Added docstring and better typing for parsed_header_links
* Added docstring and better typing for links property
Added tests for it too
* Added --diff to black check to see where CI fails
Relaxed travis build on master only
* Fixed black issue removing a \t
* Put noxfile and travis.yml as they were before
* Use response text on `json`
Pass kwargs to the loads call
* Add failing test demonstrating corner case
* Copy `guess_json_utf` function from requests
* "Fix" type hinting and lint
* Actually add tests_utils.py