RFC 7541, "HPACK: Header Compression for HTTP/2", May 2015Source of RFC: httpbis (app)
Errata ID: 4574
Status: Held for Document Update
Reported By: Christian Parpart
Date Reported: 2015-12-31
Held for Document Update by: Barry Leiba
Date Held: 2015-12-31
Section Appendix A. says:
Table 1 lists the predefined header fields that make up the static table and gives the index of each entry.
It should say:
Table 1 lists the predefined header fields that make up the static table and gives the index of each entry. This list of predefined header fields is NOT sorted.
The list of header fields actually is sorted except for one field. The field with index 19 should be between the fields with index 14 and 15).
That is why it gives the false impression that an implementer may use binary search algorithm to look up for header fields (while encoding) in order to retrieve their index numbers.
I highly encourage to at either move that field up or at least clarify that this list (even though it looks sorted), it is not.