-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not getting cookies from localhost
#5977
Comments
I don't think this is actually request's bug. It looks like Python's CookieJar.extract_cookies doesn't parse them properly. |
Ok, this is not a bug, this is a feature: https://stackoverflow.com/questions/1134290/cookies-on-localhost-with-explicit-domain/32210291#32210291 |
Thanks for looking into the issue. I doubt it’s a feature or the SoF answer is largely inaccurate since latest version of Chrome/FireFox andSafari stored the cookies on the website I had tested but requests did not. |
I've opened a bug report and wrote a possible solution: https://bugs.python.org/issue46075 |
Thank you 👍 |
Hello,
This is a follow up on #4643, which was closed without a fix. The issue is that
requests
does not get cookies fromlocalhost
. I could reproduce on2.26.0
.I'm reposting the POC from #4643 (comment), which was added after the issue was closed.
It is unclear how #5388 could get them.
The text was updated successfully, but these errors were encountered: