fault.defects

module
import

samples
data

samples = [
    b'www.example.com',
    b'www.com',
    b'www.',
    b'no-cache',
    b'af23958cbde0293cd099affff',
    b'\x00\x00\x00\x00',
    b'\xff\xff\xff\xff',
    bytes(range(256)),
]

test_huffman_coding
function

test_huffman_coding(test)

test_huffman_samples
function

test_huffman_samples(test)

Tests comprised of data from examples in http://httpwg.org/specs/rfc7541.html