body: the body, could be a string, an iterator or a file-like object
headers: dict or list of tupple, http headers
follow_redirect: follow redirection, by default False
max_follow_redirect: number of redirections available
filters http filters to pass
decompress: allows the client to decompress the response body
** max_status_line_garbage**: defines the maximum number of ignorable
lines before we expect a HTTP response’s status line. With HTTP/1.1
persistent connections, the problem arises that broken scripts could
return a wrong Content-Length (there are more bytes sent than
specified). Unfortunately, in some cases, this cannot be detected after
the bad response, but only before the next one. So the client is abble
to skip bad lines using this limit. 0 disable garbage collection, None
means unlimited number of tries.
max_header_count: determines the maximum HTTP header count allowed.
by default no limit.
manager: the manager to use. By default we use the global one.
response_class: the response class to use
timeout: the default timeout of the connection (SO_TIMEOUT)
max_tries: the number of tries before we give up a connection
wait_tries: number of time we wait between each tries.