Skip to content
Myr

Revert "Fix for the issue https://github.com/kennethreitz/requests/issues/1280"

Before adoption: this commit came in with the history the project adopted, so no landing records it.

This reverts commit ca0aea640d0cce01c126220b74362c9014cabbd6.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent cdb7007 · Browse files · 1 file+1 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−5 removed

  • other:+1 added−5 removed

1 file+1 added−5 removed

modified:requests/sessions.py+1 added-5 removed
249 unmodified lines
250 proxies=None,251 hooks=None,252 stream=None,253 verify=None,254 cert=None,255 return_response=True):254 cert=None):255 """Constructs a :class:`Request <Request>`, prepares it and sends it.256 Returns :class:`Response <Response>` object.257258 :param method: method for the new :class:`Request` object.
79 unmodified lines
338 req.auth = auth339 req.cookies = cookies340 req.hooks = hooks341343 if not return_response:344 return req345 342 # Prepare the Request.343 prep = req.prepare()344345 # Send the request.
170 unmodified lines