U
    ½){f  ã                   @   s(   d Z G dd„ deƒZG dd„ deƒZdS )zi
hpack/struct
~~~~~~~~~~~~

Contains structures for representing header fields with associated metadata.
c                   @   s    e Zd ZdZdZdZd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                 G   s   t  | |¡S )N)ÚtupleÚ__new__)ÚclsÚargsr   r   úK/var/www/html/Darija-Ai-API/env/lib/python3.8/site-packages/hpack/struct.pyr      s    zHeaderTuple.__new__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Ú	indexabler   r   r   r   r   r   
   s   r   c                   @   s   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   r   N)r   r   r   r   r   r   r   r   Ú<module>   s   