Celeb Glow
news | March 31, 2026

How to get curl verbose output without the TLS negotiation?

Is there a curl option producing everything like -v except for the TLS negotiation? I need both the input and output headers, but don't care about TLS as I know it works.

1 Answer

Not as of curl 7.70.0 (released April 2020) man page

The best you can do is to filter the -v output, e.g.

$ curl -sv -I 2>&1 | grep '^[<>]'
> HEAD / HTTP/2
> Host: google.com
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/2 301
< location:
< content-type: text/html; charset=UTF-8
< date: Wed, 06 May 2020 01:05:57 GMT
...

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy