Skip to content
Myr

Merge pull request #1465 from dpursehouse/doc-netrc-authentication

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

Improve documentation of netrc authentication

authored by Cory Benfield · committed by Cory Benfield · parents e0df4b5, c88fd8c · Browse files · 1 file+11 added−0 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+11 added−0 removed

  • other:+11 added−0 removed

1 file+11 added−0 removed

modified:docs/user/authentication.rst+11 added
30 unmodified lines
31Providing the credentials in a tuple like this is exactly the same as the32``HTTPBasicAuth`` example above.333435netrc Authentication36~~~~~~~~~~~~~~~~~~~~3738If no authentication method is given with the ``auth`` argument, Requests will39attempt to get the authentication credentials for the URL's hostname from the40user's netrc file.4142If credentials for the hostname are found, the request is sent with HTTP Basic43Auth.444546Digest Authentication47---------------------4849Another very popular form of HTTP Authentication is Digest Authentication,
65 unmodified lines