I\'ve experienced too slow execution of Python requests on some machines and with specific user while other tools (for instance curl) are quite fast. Strange thing is that i
For anyone reading this and using localhost in their URL, I resolved this issue by changing it to 127.0.0.1.
localhost
127.0.0.1
If this resolves the problem, it's a DNS problem, and it's not a requests problem.