-
-
Response Status Codes
---------------------
--------------------
Most web services require authentication. There many different types of
-authentication, but the most common is called HTTP Basic Auth.
+authentication, but the most common is HTTP Basic Auth.
Making requests with Basic Auth is extremely simple::
Digest Authentication
---------------------
-Another popular form of protecting web service is Digest Authentication::
+Another popular form of web service protection is Digest Authentication::
>>> url = 'http://httpbin.org/digest-auth/auth/user/pass'
>>> requests.get(url, auth=('digest', 'user', 'pass'))