2
是否有可能使使用TLS请求包的请求?蟒蛇,请求和TLS
做时:
requests.get('someurl')
我越来越:
SSLError: [Errno 8] _ssl.c:491: EOF occurred in violation of protocol
是否有可能使使用TLS请求包的请求?蟒蛇,请求和TLS
做时:
requests.get('someurl')
我越来越:
SSLError: [Errno 8] _ssl.c:491: EOF occurred in violation of protocol
不知道你是想什么url,但我希望下面的帮助。
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
网址是https://www.sam.gov(上述方法不工作)。我还做了:OpenSSL的的s_client.First -tls1 -connect www.sam.gov:443 并将其与协议回应:使用TLSv1。我认为它与这个协议有关。我无法在Firefox上看到该页面,但可以在Chrome上看到。当我进入about:config并打开TLS时,我可以看到页面 –