Closed marinampires closed 8 years ago
Thanks for a nice patch. I learn about proxies in requests
due to your patch.
Here is a suggestion:
If we should attach https://
internally, than how about just get the full URL from users including https://
?
Then the protocol is also retrieable like:
protocol = self.proxy_url.split('://')[0]
http_respones = requests.post(url, post_body, verify=verify_ssl, {protocol: self.proxy_url})
@youknowone, I made the changes that you suggested. Could you take a look? 84c289e
Looks good for me. Thanks!
Thanks ;)
In my work environments the server has no internet access, so is necessary to access external urls with proxy.