HPACK Implementation for Erlang
This implementation was designed for use by Chatterbox, but could be used by any HTTP/2 implementation (or, if something other than HTTP/2 has need for HPACK, this would work as well)
- Use by other projects
- A separate RFC seemed like a really clear abstraction
- Indexed Header Field Representation
- Literal Header Field Representation
- Dynamic Table Size Update
An HTTP/2 implementation should be responsible for anything you need to do in order to read a compressed header block from various PUSH_PROMISE, HEADERS, and/or CONTINUATION frames. Once you have a complete block, you can use this library to turn it into something you can use for fulfilling HTTP requests