laike9m
laike9m

Reputation: 19368

What is HTTP/2's protocol id and why are there so many of them?

I'm learning HTTP/2. I know there's RFC7540 which is the specification of HTTP/2. But I got confused by the term "protocol id" shown on the implementation page. There are h2, h2c, h2-14, h2-15, h2-16, h2-17, h2c-17(not sure I listed all).

What are these protocol ids? What's the relationship between them and RFC7540?

What does it mean if some HTTP/2 server implementation claims to support(?) some protocol id?

Upvotes: 3

Views: 719

Answers (1)

Oleg
Oleg

Reputation: 221997

RFC7540 was published in May 2015. It describes h2 and h2c. Before the publication there are 17 draft publications:

Some web servers included support of HTTP2 starting with some draft version. Some web server supports still preliminary versions of the protocol together with supporting of the final version. The names h2-17, h2c-17, h2-16, h2c-16, ... are used to specify h2 or h2c from the corresponding draft specification.

Upvotes: 7

Related Questions