diff --git a/decoder.go b/decoder.go index c900194..40bc79e 100644 --- a/decoder.go +++ b/decoder.go @@ -196,7 +196,7 @@ func (d *Decoder) parseIndexedHeaderField() error { func (d *Decoder) parseLiteralHeaderField() error { buf := d.buf - if buf[0]&0x20 > 0 || buf[0]&0x10 == 0 { + if buf[0]&0x10 == 0 { return errNoDynamicTable } index, buf, err := readVarInt(4, buf)