Comment

Alex

Thank you, this option also works:
resp = requests_retry_session().post(
    'http://httpbin.org/post',
    proxies= {"http": "http://381.177.84.291:9040"}
)

Parent comment

Chris

I use this: # sample proxy, does not work, set your own proxy proxies = {"https": "https://381.177.84.291:9040"} # create session session = self.requests_retry_session() # get request response = session.get(url, proxies=proxies)