31 lines
568 B
Python
31 lines
568 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
"""
|
||
|
hpack
|
||
|
~~~~~
|
||
|
|
||
|
HTTP/2 header encoding for Python.
|
||
|
"""
|
||
|
from .hpack import Encoder, Decoder
|
||
|
from .struct import HeaderTuple, NeverIndexedHeaderTuple
|
||
|
from .exceptions import (
|
||
|
HPACKError,
|
||
|
HPACKDecodingError,
|
||
|
InvalidTableIndex,
|
||
|
OversizedHeaderListError,
|
||
|
InvalidTableSizeError
|
||
|
)
|
||
|
|
||
|
__all__ = [
|
||
|
'Encoder',
|
||
|
'Decoder',
|
||
|
'HeaderTuple',
|
||
|
'NeverIndexedHeaderTuple',
|
||
|
'HPACKError',
|
||
|
'HPACKDecodingError',
|
||
|
'InvalidTableIndex',
|
||
|
'OversizedHeaderListError',
|
||
|
'InvalidTableSizeError',
|
||
|
]
|
||
|
|
||
|
__version__ = '4.0.0'
|