From 270898e5215f121cbeecedae0bd6c07537692fef Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Fri, 25 Feb 2011 08:48:09 -0500 Subject: [PATCH] Readme Updates --- README.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index ae5a03e..f5a6908 100644 --- a/README.rst +++ b/README.rst @@ -16,7 +16,7 @@ Features + Simple Multipart File Uploads + CookieJar Support -- Simple Basic HTTP Authentication +- Simple Authentication + Simple URL + HTTP Auth Registry @@ -38,7 +38,7 @@ HTTPS? Basic Authentication? :: Uh oh, we're not authorized! Let's add authentication. :: - >>> conv_auth = requests.AuthObject('requeststest', 'requeststest') + >>> conv_auth = ('requeststest', 'requeststest') >>> r = requests.get('https://convore.com/api/account/verify.json', auth=conv_auth) >>> r.status_code @@ -100,6 +100,9 @@ If CookieJar object is is passed in (cookies=...), the cookies will be sent with Response.ok (Bool) True if no errors occurred during the request, and the status_code is kosher. + Response.cached + (Bool) True if Response.content is stored within the object. + Response.error (HTTPError) If an HTTPError occurred (e.g. status of 404), Otherwise this is None. -- 2.7.4