cleanup docs for request defaults
authorKenneth Reitz <me@kennethreitz.com>
Sat, 21 Jan 2012 06:44:53 +0000 (01:44 -0500)
committerKenneth Reitz <me@kennethreitz.com>
Sat, 21 Jan 2012 06:44:57 +0000 (01:44 -0500)
requests/defaults.py
requests/models.py

index f0516f7..424d373 100644 (file)
@@ -10,16 +10,13 @@ Configurations:
 
 :base_headers: Default HTTP headers.
 :verbose: Stream to write request logging to.
-:timeout: Seconds until request timeout.
-:max_redirects: Maximum number of redirects allowed within a request.
-:decode_unicode: Decode unicode responses automatically?
+:max_redirects: Maximum number of redirects allowed within a request.s
 :keep_alive: Reuse HTTP Connections?
 :max_retries: The number of times a request should be retried in the event of a connection failure.
 :danger_mode: If true, Requests will raise errors immediately.
 :safe_mode: If true, Requests will catch all errors.
 :pool_maxsize: The maximium size of an HTTP connection pool.
 :pool_connections: The number of active HTTP connection pools to use.
-
 """
 
 from . import __version__
index 72564ca..9912d41 100644 (file)
@@ -183,7 +183,6 @@ class Request(object):
 
             # Save original response for later.
             response.raw = resp
-
             response.url = self.full_url.decode('utf-8')
 
             return response