Cookies handling not needed in Python? #297
Unanswered
dvermagithub
asked this question in
Q&A
Replies: 1 comment
-
Yes, if you first create a requests session and then make all requests on the same session, it handles Cookies for you. If you just call requests without using a session, each request is stand-alone and you'd have to do Cookies manually. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was half way though implementing a read, store and re-post of the Cookies in Python per Tim latest authentication instructions.
I came across the fact that requests() in python returns the original cookie automatically as long post is part of the same session.
Code seems to work without requiring storage/return of cookies....maybe not future proof.
Wondering if someone can confirm this about sessions.
TIA
Beta Was this translation helpful? Give feedback.
All reactions