Move netrc authentication documentation under the Basic Auth section
authorDavid Pursehouse <david.pursehouse@gmail.com>
Fri, 19 Jul 2013 13:37:53 +0000 (22:37 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Fri, 19 Jul 2013 13:37:57 +0000 (22:37 +0900)
docs/user/authentication.rst

index 5615a6c1b75785d332cc92a40d44e2cb9f89d54f..6c213eaa22654f0aa03999703a09c2a8f72a316f 100644 (file)
@@ -32,6 +32,17 @@ Providing the credentials in a tuple like this is exactly the same as the
 ``HTTPBasicAuth`` example above.
 
 
+netrc Authentication
+~~~~~~~~~~~~~~~~~~~~
+
+If no authentication method is given with the ``auth`` argument, Requests will
+attempt to get the authentication credentials for the URL's hostname from the
+user's netrc file.
+
+If credentials for the hostname are found, the request is sent with HTTP Basic
+Auth.
+
+
 Digest Authentication
 ---------------------
 
@@ -63,17 +74,6 @@ For more information on how to OAuth flow works, please see the official `OAuth`
 For examples and documentation on requests-oauthlib, please see the `requests_oauthlib`_ repository on GitHub
 
 
-netrc Authentication
---------------------
-
-If no authentication method is given with the ``auth`` argument, Requests will
-attempt to get the authentication credentials for the URL's hostname from the
-user's netrc file.
-
-If credentials for the hostname are found, the request is sent with HTTP Basic
-Auth.
-
-
 Other Authentication
 --------------------