大名鼎鼎的HPACK演示图有错吗?

Is the famous HPACK demo diagram wrong?

我对最右边图片中的 19 感到非常困惑,恕我直言,它应该是 4 [2]。

幻灯片来自https://docs.google.com/presentation/d/1r7QXGYOLCh4fcUq0jDdDwKJWNqWK1o4xMtYpKZCJYjM/edit#slide=id.gfd0e3427_048

[2] https://http2.github.io/http2-spec/compression.html#rfc.section.A

是的,我也觉得不对,我同意 :path 应该是 4 而 accept 不是 19。

主持人的书《高性能浏览器网络》(available online for free) has this in the HPACK section:

如您所见,确实包含了 accept header,所以怀疑他们只是在简化幻灯片示例时打错了字。