Skip to content

Fix for the issue https://github.com/kennethreitz/requests/issues/1280 #1281

Merged
merged 1 commit into from Apr 2, 2013

4 participants

@kennethreitz kennethreitz merged commit cdb7007 into kennethreitz:master Apr 2, 2013
@kennethreitz
Owner

:metal:

@t-8ch t-8ch commented on the diff Apr 2, 2013
requests/sessions.py
@@ -339,6 +340,9 @@ def request(self, method, url,
req.cookies = cookies
req.hooks = hooks
+ if not return_response:
+ return req
+
@t-8ch
t-8ch added a note Apr 2, 2013

Those are tabs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@sigmavirus24
Collaborator

@kennethreitz why reintroduce this behaviour? It was a documentation mistake on my part.

@kennethreitz
Owner

Woah why did you open this?

@kennethreitz
Owner

Oh, you guys have the same avatar. :(

@kennethreitz
Owner

Reverted.

@KamilSzot

So you won't reintroduce this behavior? Could you suggest what should I do instead to achieve same thing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.