Skip to content
Myr

updated custom header precedence info with .netrc example

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

authored by benjaminran · committed by benjaminran · parent d294de3 · Browse files · 1 file+1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/user/quickstart.rst+1 added-1 removed
190 unmodified lines
191 >>> r = requests.get(url, headers=headers)192193Note: Custom headers are given less precedence than more specific sources of information. For instance:194195* Authorization headers will be overridden by any alternative auth source found.195* Authorization headers will be overridden if credentials are passed via the ``auth`` parameter or are specified in a ``.netrc`` accessible in the environment.196* Authorization headers will be removed if you get redirected off-host.197* Proxy-Authorization headers will be overridden by proxy credentials provided in the URL.198* Content-Length headers will be overridden when we can determine the length of the content.199
273 unmodified lines