On Fri, Aug 23, 2024 at 11:44:07AM -0500, Yang Yu via curl-users wrote: > Compare HTTP 1.1 response header output with H/2 > > $ curl -I http://www.http2demo.io/ > HTTP/1.1 200 OK > > $ curl -I https://www.cloudflare.com > HTTP/2 200 > > For H2, the reason phrase is not shown in curl output.
The reason phrase isn't even available in the HTTP/2 protocol. According to RFC7540: HTTP/2 does not define a way to carry the version or reason phrase that is included in an HTTP/1.1 status line. Dan -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.html