Why does the HTTP Upgrade: header contain both h2 and h2c in Apache?
I think you can only run the HTTP/2 clear text variant, (h2c).
Why does it also include the options h2? Since it is only going to be accessed from TLS, right?
Edit, final question:
Over HTTP, Apache ignores request to upgrade to h2, but it usually advertises it.
Client (HTTP/1.1 without the upgrade header) => Apache (Sends Upgrade: h2, h2c)
Client (HTTP/1.1 with Upgrade: h2) => Apache (Ignores request to upgrade,
and responds back with HTTP/1.1)
Over HTTP, Apache respects upgrade to h2c, and it usually advertises it :)
Client (HTTP/1.1 without the upgrade header) => Apache (Sends Upgrade: h2, h2c)
Client (HTTP/1.1 with Upgrade: h2c) => Apache (Respects request, sends
101 Switching Protocols)
Apache (Uses HTTP/2 Cleartext)
Over HTTPS, Apache ignores all requests to upgrade to h2 and h2c. And Apache also sends h2c over HTTPS. Why is this?