I have a kind of the same question as How does a browser know if a site supports HTTP/2?. I am wondering how the browser knows website support http3.
I am using safari and turned on the http3 support. Then I go to https://cloudflare-quic.com
and the protocol is h3-29
. I think my safari explores this website using h3 protocol. How does it know it?
The spec defines 'Discovering an HTTP/3 Endpoint':
In this case,
Alt-Svc
is present:So a browser receiving this response can attempt its next connection using those three draft versions on the same server, on UDP port 443.