【发布时间】:2012-09-18 21:28:48
【问题描述】:
是否可以使用 TLS 的 requests 包发出请求?
做的时候:
requests.get('someurl')
我明白了:
SSLError: [Errno 8] _ssl.c:491: EOF occurred in violation of protocol
【问题讨论】:
标签: python ssl python-requests
是否可以使用 TLS 的 requests 包发出请求?
做的时候:
requests.get('someurl')
我明白了:
SSLError: [Errno 8] _ssl.c:491: EOF occurred in violation of protocol
【问题讨论】:
标签: python ssl python-requests
不确定您正在尝试什么网址,但我希望以下内容有所帮助。
In [35]: url = 'https://www.googleapis.com/freebase/v1/mqlread?query=hello&key=xyz'
In [36]: requests.request("GET",url)
Out[36]: <Response [400]>
更多文档请参考here
【讨论】: