Kar Petrosyan
f8981f3d12
Add the 'proxy' parameter and deprecate 'proxies'. ( #2879 )
...
* Add the proxy parameter and deprecate proxies
* Make the Client.proxy and HTTPTransport.proxy types the same
* Update httpx/_transports/default.py
Co-authored-by: T-256 <132141463+T-256@users.noreply.github.com>
* Update httpx/_transports/default.py
Co-authored-by: T-256 <132141463+T-256@users.noreply.github.com>
* Drop unneeded noqa
* Changelog
* update documentation
* Allow None in mounts
* typos
* Update httpx/_types.py
* Changes proxies to proxy in CLI app
* Add proxy to request function
* Update CHANGELOG.md
Co-authored-by: Tom Christie <tom@tomchristie.com>
* Update docs/troubleshooting.md
Co-authored-by: Tom Christie <tom@tomchristie.com>
* Update docs/troubleshooting.md
Co-authored-by: Tom Christie <tom@tomchristie.com>
* Lint
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
Co-authored-by: T-256 <132141463+T-256@users.noreply.github.com>
2023-12-11 17:55:52 +04:00
nyuszika7h
782f507b63
docs: Fix proxy examples ( #2183 )
...
Per https://www.python-httpx.org/compatibility/#proxy-keys , there should
always be a `://` after the protocol. The given examples raise an
exception when used as-is.
Co-authored-by: Florimond Manca <florimond.manca@protonmail.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
2022-05-05 13:11:18 +01:00
Florimond Manca
25781a7625
Add troubleshooting guide, with initial proxies entries ( #1435 )
...
* Add troubleshooting guide, with initial proxies entries
* Drop unrelated issue
2020-12-29 13:40:53 +01:00