Skip to content

How to set cookies on proxy before first request is send? #8

Answered by alandtse
mkb79 asked this question in Q&A
Discussion options

You must be logged in to vote

When you init an authcaptureproxy you can pass in a aiohttp ClientSession. Please read that documentation on how to set a cookie.
https://docs.aiohttp.org/en/stable/client_advanced.html#custom-cookies

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@alandtse
Comment options

@mkb79
Comment options

Answer selected by alandtse
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #7 on March 17, 2021 20:03.