projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adb53c2
)
new documentation on Request changes.
author
Kenneth Reitz
<me@kennethreitz.com>
Tue, 15 Feb 2011 14:51:46 +0000
(09:51 -0500)
committer
Kenneth Reitz
<me@kennethreitz.com>
Tue, 15 Feb 2011 14:51:46 +0000
(09:51 -0500)
README.rst
patch
|
blob
|
history
diff --git
a/README.rst
b/README.rst
index
83bd3c4
..
fab341d
100644
(file)
--- a/
README.rst
+++ b/
README.rst
@@
-96,6
+96,15
@@
If CookieJar object is is passed in (cookies=...), the cookies will be sent with
Request.url
(String) URL of response. Useful for detecting redirects.
+
+ Request.ok
+ True if no errors occurred during the request, and the status_code is kosher.
+
+ Request.error
+ (HTTPError) If an HTTPError occurred (e.g. status of 404), Otherwise this is None.
+
+ Request.raise_for_status()
+ Raises HTTPError if a request is not kosher.
**HTTP Authentication Registry:**