W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2013

Header compression: http1_huffman

From: Frédéric Kayser <f.kayser@free.fr>
Date: Fri, 25 Jan 2013 03:34:05 +0100
Message-Id: <8A7E67D4-79FD-4DD4-8EC4-B34251AD9AFC@free.fr>
To: ietf-http-wg@w3.org
I've started to write my own header compressor, I'll try to make a stateless (no delta) compressor that will switch (more or less automatically) between different Huffman tables based on context (text, numbers, binary, lookup tables references...).
As an appetizer (and to test the fork interface in binary) I have hacked a very basic Zlib based Huffman coder, it calls Zlib but restricts it to a simple Huffman coder (Z_HUFFMAN_ONLY strategy).

Since I have noticed that I could quickly modify http1_gzip to do the same... I did it and called it "http1_huffman". This is a zero cost compressor since current servers and clients already implement Gzip compression, of course it produces limited gains since compressed data still weights about 75% of the original.

Frédéric Kayser
Received on Friday, 25 January 2013 02:34:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:11:09 UTC