Having trouble with the python requests module? Need help with HTTP requests? or What’s the best way

16 Replies, 759 Views

Random timeouts? Could be DNS. Try setting `session.trust_env = False` to bypass system DNS.

For SSL, `pip install certifi` and point `verify` to its certs.

Debugging: I log everything with `logging.basicConfig(level=logging.DEBUG)`.

Fancy tool? Charles Proxy. Lets you inspect every byte.

Messages In This Thread



Users browsing this thread: 1 Guest(s)