Closed urbaniak closed 8 years ago
I've found that It's caused by old python version with outdated ssl module in OS X.
Closing.
OSX currently ships Python 2.7.10. As per documentation, OP_NO_COMPRESSION should actually be supported in >= 2.7.9, still getting this error.
How did you solve this issue?
@sts OP_NO_COMPRESSION is not supported in OS X's system Python because Apple ships it linked against OpenSSL 0.9.8zh, which is ancient and does not support the OP_NO_COMPRESSION
flag at all. OS X's system Python is simply entirely unsuitable for use with HTTP/2, unless you install a PyOpenSSL binary wheel.
@sts I've installed python from homebrew.
try this if not hasattr(ssl, 'OP_NO_COMPRESSION'): ssl.OP_NO_COMPRESSION = 131072
Just after installing httpie-http2 it's not possible to make any request with the following error:
Here's the versions: