Skip to content

--verbose: document both { and } lines #20386

Description

@Thibaulltt

Specify which documentation you found a problem with

The man page of my current curl package on Fedora 42. Output of curl --version:

curl 8.11.1 (x86_64-redhat-linux-gnu) libcurl/8.11.1 OpenSSL/3.2.6 zlib/1.3.1.zlib-ng brotli/1.2.0 libidn2/2.3.8 libpsl/0.21.5 libssh/0.11.3/openssl/zlib nghttp2/1.64.0 OpenLDAP/2.6.10
Release-Date: 2024-12-11
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets

The problem

I tried to download some file using curl recently and did not succeed. I then turned on the --verbose option to see what was happening and got a few lines with characters I did not recognize, here's an excerpt:

> GET /congress/2025/h264-hd/39c3-2079-eng-deu-pol-Breaking_architecture_barriers_Running_x86_games_and_apps_on_ARM_hd.mp4 HTTP/2
> Host: cdn.media.ccc.de
> User-Agent: curl/8.11.1
> Accept: */*
>
* Request completely sent off
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [265 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [281 bytes data]

I knew about the > and < lines, but was unsure about the other ones. Displaying the man page for curl v8.11.0 show the following:

       -v, --verbose
              Makes curl verbose during the operation. Useful for debugging and seeing what's going on under the  hood.
              A  line starting with > means header data sent by curl, < means header data received by curl that is hid‐
              den in normal cases, and a line starting with * means additional info provided by curl.

From this, I now know what the * lines stand for. But I'm still in the dark about what the { and } lines mean!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions