-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Receiving a 404 response on a simple GET request that returns 200 using standard requests library #6886
Comments
I think I remember someone reporting this before. But, probably an issue for Twitter's support. Unless you can figure out what is causing this bizarre response from Twitter, there's not really anything we can do. Interestingly, /tos and /privacy work fine, but seemingly not any of the main Twitter pages. I'm thinking that static pages are fine, but application pages have some weird logic on them.. |
Hmm #4926 is the only issue I can find that might be related, maybe I misremembered.. |
Could be something bizzare similar to #5643... |
@sc0ned Try setting |
If anyone encounters this; just use |
Seems to work today. Could be something we changed, or could be something they fixed. |
Describe the bug
I'm not sure what is happening here, but it seems that Twitter is somehow detecting and denying access to requests coming from aiohttp. Running a basic GET request using aiohttp returns a 404 page not found error, while running an identical request with the standard requests module produces the expected results.
To Reproduce
Expected behavior
Both requests should result in a 200 status code, but aiohttp produces a 404 status.
Logs/tracebacks
Python Version
Python 3.9.6
aiohttp Version
3.8.1
multidict Version
6.0.2
yarl Version
1.7.2
OS
Windows 10
Related component
Client
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: