T
T
test22352018-06-08 09:56:18
Communication protocols
test2235, 2018-06-08 09:56:18

Why is HTTP/2 binary and HTTP 1.1 text?

Why is HTTP/2 binary and HTTP 1.1 text?
I don't understand the fundamental difference. For example, if the data is purely textual in HTTP1.1 and HTTP/2, there will be no difference? (and that and that text)? But over HTTP1.1, binaries were already transmitted, in addition to text (photos, videos, etc.), for example, when uploading to a form field, does it turn out that HTTP1.1 is also essentially binary?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Grishin, 2018-06-08
@vesper-bot

https://http2.github.io/faq/#why-is-http2-binary
Translation: Because it is more convenient to screw additional chips in the binary protocol, which are a huge breakthrough in HTTP / 2, and it is more convenient to implement it, because there is no need for parsing text data.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question