
    nbi(                    N    d Z ddlmZ  G d de          Z G d de          ZdS )zi
hpack/struct
~~~~~~~~~~~~

Contains structures for representing header fields with associated metadata.
    )annotationsc                       e Zd ZdZdZdZd ZdS )HeaderTuplea  
    A data structure that stores a single header field.

    HTTP headers can be thought of as tuples of ``(field name, field value)``.
    A single header block is a sequence of such tuples.

    In HTTP/2, however, certain bits of additional information are required for
    compressing these headers: in particular, whether the header field can be
    safely added to the HPACK compression context.

    This class stores a header that can be added to the compression context. In
    all other ways it behaves exactly like a tuple.
     Tc                8    t                               | |          S )N)tuple__new__)clsargss     `/var/www/html/mdtn/previsions/meteo_cartes/venv/lib/python3.11/site-packages/jh2/hpack/struct.pyr	   zHeaderTuple.__new__   s    }}S$'''    N)__name__
__module____qualname____doc__	__slots__	indexabler	   r   r   r   r   r      s9          II( ( ( ( (r   r   c                      e Zd ZdZdZdZdS )NeverIndexedHeaderTuplez}
    A data structure that stores a single header field that cannot be added to
    a HTTP/2 header compression context.
    r   FN)r   r   r   r   r   r   r   r   r   r   r   "   s$         
 IIIIr   r   N)r   
__future__r   r   r   r   r   r   r   <module>r      s     # " " " " "( ( ( ( (% ( ( (.    k     r   