Re: status reason-phrase missing for H2

2024-08-23 Thread Dan Fandrich via curl-users
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. Th

status reason-phrase missing for H2

2024-08-23 Thread Yang Yu via curl-users
Hi, 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 status line has "status-line = HTTP-version SP status-code SP reason-phrase CRLF" h