Skip to content

Commit

Permalink
cleanup docs for request defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Reitz committed Jan 21, 2012
1 parent 47aba0c commit efd2b57
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions requests/defaults.py
Expand Up @@ -10,16 +10,13 @@
: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__
Expand Down
1 change: 0 additions & 1 deletion requests/models.py
Expand Up @@ -183,7 +183,6 @@ def build(resp):

# Save original response for later.
response.raw = resp

response.url = self.full_url.decode('utf-8')

return response
Expand Down

0 comments on commit efd2b57

Please sign in to comment.