https proxy support in python requests library

时光毁灭记忆、已成空白 提交于 2019-12-04 08:02:43

https proxy should be using "CONNECT" It is intentional that urllib2 does it that way. CONNECT establishes the tunnel for secure transmission which is required for HTTPS.

As I understand it this is a bug in urllib3 which requests uses under the hood. See this bug report: https://github.com/shazow/urllib3/issues/50

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!