>>> import requests >>> session = requests.Session() >>> session.trust_env = False >>> r = session.get("http://127.0.0.1:8080") >>> r <Response [200]>