Skip to content
Myr

Move netrc authentication documentation under the Basic Auth section

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

authored by David Pursehouse · committed by David Pursehouse · parent 6f6a920 · Browse files · 1 file+11 added−11 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−11 removed

  • other:+11 added−11 removed

1 file+11 added−11 removed

modified:docs/user/authentication.rst+11 added-11 removed
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,
23 unmodified lines
73For more information on how to OAuth flow works, please see the official `OAuth`_ website.74For examples and documentation on requests-oauthlib, please see the `requests_oauthlib`_ repository on GitHub757666netrc Authentication67--------------------6869If no authentication method is given with the ``auth`` argument, Requests will70attempt to get the authentication credentials for the URL's hostname from the71user's netrc file.7273If credentials for the hostname are found, the request is sent with HTTP Basic74Auth.757677Other Authentication78--------------------7980Requests is designed to allow other forms of authentication to be easily and
34 unmodified lines