xh icon indicating copy to clipboard operation
xh copied to clipboard

`--verify=no` doesn't apply to redirects

Open bdmorin opened this issue 9 months ago • 1 comments

Installed via homebrew.

❯ xh --version
xh 0.22.0
-native-tls +rustls

❯ xh -F --verify=no  cli.gorilla-llm.com
xh: error: error sending request for url (https://cli.gorilla-llm.com/)

Caused by:
    0: client error (Connect)
    1: invalid peer certificate: Expired

❯ xh -F --verify no  cli.gorilla-llm.com
xh: error: error sending request for url (https://cli.gorilla-llm.com/)

Caused by:
    0: client error (Connect)
    1: invalid peer certificate: Expired

No matter what I do I can't get xh to ignore the tls expiry date. This might be by design, I don't know.

Thanks.

bdmorin avatar May 22 '24 17:05 bdmorin