Re: h2 header field names

On 5 September 2014 12:37, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> I doubt we have the clout to redefine base64

That's not the point.  The point is that if you are using private,
opaque tokens (cookies are one example), and you can choose the
mapping between binary and what gets put in the header field, then the
choice of optimal character set allows for higher efficiency.

I built a tool that does this for you based on arbitrary character
availability and the HPACK table
(https://github.com/martinthomson/bhpack).  The gains over base64 are
marginal enough that it's really worth using in practice.

Received on Friday, 5 September 2014 21:02:46 UTC