summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2011-02-25 08:48:09 -0500
committerKenneth Reitz <me@kennethreitz.com>2011-02-25 08:48:09 -0500
commit270898e5215f121cbeecedae0bd6c07537692fef (patch)
treed572c02936352ba48c325ea53c9ad7aa50dea98d
parent897dd3aaa8f8d3856cf7351025192c5bb20aafba (diff)
downloadpython-requests-270898e5215f121cbeecedae0bd6c07537692fef.tar.gz
Readme Updates
-rw-r--r--README.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index ae5a03e4..f5a69081 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.