BUG: --server-response doesn't show headers in HTTP/1.1 mode
Steps to reproduce:
bash> wget2 --no-http2-S https://www.google.com
HTTP/1.1 200 OK
Date: Sat, 06 Sep 2025 03:16:14 GMT
But,
bash> wget2 --http2-only -S https://www.google.com
HTTP/1.1 200 OK
Date: Sat, 06 Sep 2025 03:16:14 GMT
Content-Length: ...
Cache-Control: ..
Expires: ...
<All the rest>
The bug isn't specifically about these http2 flags, I just used them for illustration.