httpie-http2
httpie-http2 copied to clipboard
'http --verify no' does verify SSL Certificate
I'd like to use http
with HTTP/2 to test localhost served by Caddy and its localhost self-signed certificates. However, even with option --verify no
, http
(with httpie-http2
) still verifies the certificate:
$ http --verify no https://localhost
http: error: SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
Without httpie-http2
, http
works fine.
Duplicate issue and fix in https://github.com/httpie/httpie-http2/issues/7#issuecomment-326809573 is to install latest version of hyper
:
pip install -U git+https://github.com/Lukasa/hyper.git