Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl -I --http3 does not return headers #5196

Closed
xquery opened this issue Apr 7, 2020 · 0 comments
Closed

curl -I --http3 does not return headers #5196

xquery opened this issue Apr 7, 2020 · 0 comments
Assignees
Labels
HTTP/3 h3 or quic related

Comments

@xquery
Copy link
Member

xquery commented Apr 7, 2020

I did this

Ran curl against a test http3 server with -I flag to just return headers.

curl https://nghttp2.org:4433 --http3 -I

I expected the following

enumeration of response headers

curl/libcurl version

curl 7.69.2-DEV (x86_64-pc-linux-gnu) libcurl/7.69.2-DEV OpenSSL/1.1.1d c-ares/1.14.0 libssh2/1.8.0 nghttp2/1.30.0 ngtcp2/0.1.90 nghttp3/0.1.90
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS Debug HTTP2 HTTP3 HTTPS-proxy IPv6 Largefile NTLM NTLM_WB SSL TLS-SRP TrackMemory UnixSockets

operating system

Linux 36e05e3127c0 4.19.76-linuxkit #1 SMP Thu Oct 17 19:31:58 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

@bagder bagder added the HTTP/3 h3 or quic related label Apr 7, 2020
@bagder bagder self-assigned this Apr 7, 2020
bagder added a commit that referenced this issue Apr 7, 2020
Restores the --head functionality to the curl utility which extracts
'protocol' that is stored that way.

Reported-by: James Fuller
Fixes #5196
@bagder bagder closed this as completed in 0bcf975 Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HTTP/3 h3 or quic related
Development

Successfully merging a pull request may close this issue.

2 participants