Why is it said that HTTP2 is a binary protocol?

后端 未结 4 640
醉话见心
醉话见心 2020-12-31 17:39

I\'ve just read a article about differences between http1 and http2, but the main question that I have is when it says that http2 i

4条回答
  •  独厮守ぢ
    2020-12-31 18:22

    I think the reason is that per request data in http2 can be seperated by byte and then assembled into a new binary protocol layer before being sent. By contrast the http1.1 request data is a complete whole, which cannot be seperated and must be transfered from start to end.

提交回复
热议问题