From fa42c12e5b3a9bad83594d9831ddb00be094e249 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 15 Feb 2011 09:58:02 -0500 Subject: [PATCH] I need autodoc. --- README.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index fab341d..325c69c 100644 --- a/README.rst +++ b/README.rst @@ -85,25 +85,25 @@ If CookieJar object is is passed in (cookies=...), the cookies will be sent with **Responses:** - Request.status_code: + Response.status_code: (Integer) Received HTTP Status Code Response - Request.headers: + Response.headers: (Dictionary) Received HTTP Response Headers - Request.content: + Response.content: (Bytes) Received Content - Request.url + Response.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. + Response.ok + (Bool) True if no errors occurred during the request, and the status_code is kosher. - Request.error + Response.error (HTTPError) If an HTTPError occurred (e.g. status of 404), Otherwise this is None. - Request.raise_for_status() + Response.raise_for_status() Raises HTTPError if a request is not kosher. -- 2.34.1