Unexpected Cookie Loading with aiohttp DummyCookieJar ? #9480
Answered
by
Dreamsorcerer
loic-bellinger
asked this question in
Q&A
-
Hello, I'm using a session without cookies as follows: aiohttp.ClientSession(
raise_for_status=True,
cookie_jar=aiohttp.DummyCookieJar()
) However, I'm still receiving the following warning: Could you please clarify why this is happening (or why is it better that this is happening) ? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
Dreamsorcerer
Oct 16, 2024
Replies: 1 comment 4 replies
-
Could you make a slight edit to the aiohttp code and rerun it in order to get the traceback?
Just add |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right, I see. That is not the cookie jar on the session. The response has cookies, which is what is being loaded here. I think it makes sense that the cookies are loaded on the response object, regardless of whether they are going to be stored in the cookie jar.