HTTP/2
Published in May 2015 as RFC 7540 [1], HTTP/2 is the latest major revision of the HTTP protocol. It is mostly based on Google's SPDY protocol and offers a new binary framing layer that is not backward-compatible with HTTP/1. As mentioned previously, most of its features were developed through the SPDY project. The most notable difference between SPDY and HTTP/2 was the way that the new protocol compressed its headers. Whereas SPDY relied on dynamically compressing headers with gzip, the HTTP/2 protocol used a new method named HPACK, which made use of a fixed Huffman code-based algorithm. This new method was needed in order to avoid a problem that was found with SPDY, by which data compression led to the possible leakage of private ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access