From 58c77bac27ce853d4b60a067d11a8b85dbc251b3 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 12 Nov 2011 13:03:29 -0800 Subject: [PATCH] quicker start --- docs/user/quickstart.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst index 95add23..a8c8274 100644 --- a/docs/user/quickstart.rst +++ b/docs/user/quickstart.rst @@ -132,8 +132,6 @@ Requests makes it simple to upload Multipart-encoded files:: - - Response Status Codes --------------------- @@ -231,7 +229,7 @@ Basic Authentication -------------------- 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:: @@ -242,7 +240,7 @@ 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')) -- 2.34.1