Re: negotiated protocol in Navigation and Resource Timing

On Wed, Oct 22, 2014 at 6:25 PM, Ilya Grigorik <igrigorik@google.com> wrote:
> Anne: thinking about this some more, it seems like "protocol" in Fetch has
> it backwards. Historically, yes, you could just look at the scheme and infer
> the protocol (http or https), but that is no longer the case because https
> --> {http/1.1, http/2, spdy/..,  quic/..., ...}. If anything, I'd argue we
> should drop "protocol" (we still have "scheme") from URL because you don't
> actually know the protocol until the connection is negotiated. In other
> words, moving forward URL.protocol will be lying most of the time.

Fetch doesn't use "protocol". The API we have had for URL manipulation
(defined in URL) for two decades or so has it and that is unlikely to
change.


-- 
https://annevankesteren.nl/

Received on Wednesday, 22 October 2014 16:31:59 UTC