Skip to content
Myr

Minor doc updates

Before adoption: this commit came in with the history the project adopted, so no landing records it.

- Improve wording of sentence describing proxy environment variable setting. - Mention that proxy URLs must include the scheme.

authored by David Pursehouse · committed by David Pursehouse · parent 9968a10 · Browse files · 1 file+4 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−1 removed

  • other:+4 added−1 removed

1 file+4 added−1 removed

modified:docs/user/advanced.rst+4 added-1 removed
303 unmodified lines
304 }305306 requests.get("http://example.org", proxies=proxies)307308You can also configure proxies by environment variables ``HTTP_PROXY`` and ``HTTPS_PROXY``.308You can also configure proxies by setting the environment variables309``HTTP_PROXY`` and ``HTTPS_PROXY``.310311::312313 $ export HTTP_PROXY="http://10.10.1.10:3128"
7 unmodified lines
321 proxies = {322 "http": "http://user:pass@10.10.1.10:3128/",323 }324325Note that proxy URLs must include the scheme.326327Compliance328----------329330Requests is intended to be compliant with all relevant specifications and
267 unmodified lines