本文介绍了如何检查网站是否具有HTTP/2协议支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于

正如我在这张图片中看到的那样,所有现代浏览器都支持该协议.我还没有看到任何可能看起来像新一代协议的链接.

我们是在不知道的情况下使用HTTP/2协议还是仅仅是童话?

解决方案

您只需在以下位置进行检查: Chrome开发工具()→网络协议.

它将告诉您所使用的协议和每次传输的域.

传奇

http/1.1 = HTTP/1.1
h2 = HTTP/2


注意:如果看不到协议列,只需右键单击任何标题,然后选中协议" 标签.

There are a lot of topics about the HTTP/2 protocol, but I wonder if there is a working website with this protocol.

I.e.

We can decide to use http:// or https://, but how can we write a HTTP/2 request?

I am aware that this protocol depends on the server capability, but I can not find a way to check if a website, e.g. google.com, has HTTP/2 support enabled.

As I can see in this picture, all modern browsers support this protocol.I have not seen any link that could look like a new generation protocol.

Are we using the HTTP/2 protocol without knowing or it is just a fairy tale?

解决方案

You can just check it in: Chrome Dev Tool () → NetworkProtocol.

It will tell you the protocol used and the domain of each transfer.

Legend

http/1.1 = HTTP/1.1
h2          = HTTP/2


Note: If you cannot see the Protocol column, just right-click on any header and check the "Protocol" label.

这篇关于如何检查网站是否具有HTTP/2协议支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-25 15:59