Is it possible to make a request using the requests package using TLS?
when doing:
requests.get('someurl')
I'm getting:
SSLError: [Errno 8] _ssl.c:491: EOF occurred in violation of protocol
Not sure what url you are trying but I hope below helps.
In [35]: url = 'https://www.googleapis.com/freebase/v1/mqlread?query=hello&key=xyz'
In [36]: requests.request("GET",url)
Out[36]: <Response [400]>
For more documentation please refer here
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.