Closed jlaskowski closed 7 years ago
http2bin.org is down for a long time now. Try with another one, like google.com
from hyper import HTTPConnection
conn = HTTPConnection('google.com:443', secure=True)
conn.request('GET', '/')
resp = conn.get_response()
print(resp.read())
thanks...change your docs, please
On 9/3/17 11:41 PM, Kostya Esmukov wrote:
http2bin.org is down for a long time now. Try with another one, like google.com
|from hyper import HTTPConnection conn = HTTPConnection('google.com:443', secure=True) conn.request('GET', '/') resp = conn.get_response() print(resp.read()) |
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Lukasa/hyper/issues/349#issuecomment-326859493, or mute the thread https://github.com/notifications/unsubscribe-auth/ABFf1EBnK4zJ2y3zASNqIKFsmPJxuckJks5se3F3gaJpZM4PLamH.
On Raspberry Pi 2, using Raspbian and Python 3.5.3, I installed hyper and tried to run your simple example which failed on the conn.request('GET','/get'):
Error:
I can't ping http2bin.org, but the host does resolve to an IP address.