HTTP / 2 is definitely a future trend because it is now an HTTP protocol standard. As we see in Can be used , 70.15% of browsers support HTTP / 2. But HTTP / 2 is so new that there are browsers that only support HTTP / 1.x, and there are many servers that only support HTTP / 1.x. I knew that the client could use the HTTP update mechanism to negotiate the correct protocol to communicate with the server. For example, if the server supports HTTP / 2, their communication protocol will switch to HTTP / 2, otherwise HTTP / 1.x is used. But this only applies to the situation where the browser used by clients supports HTTP / 2 and HTTP / 1.x, right?
But what if a user in a browser that only supports HTTP / 1.x wants to communicate with an HTTP / 2 server? Will the server ignore the request or send an error message back to the user?
But what if a user in a browser that only supports HTTP / 2 wants to communicate with the server only HTTP / 1.1? I think that the process can go as follows: the user sends a connection preface to the server, the server cannot recognize the request, so the user may receive a connection error message. It is right?
Or is there some kind of browser that only supports HTTP / 2?
source
share