§
    îŽ’jö  ã                  ó    — U d Z ddlmZ ddlmZmZ erddlmZmZ  G d„ de	e
e
f         ¦  «        Z G d„ de¦  «        Zd	Zd
ed<   dZd
ed<   dS )zN
Contains structures for representing header fields with associated metadata.
é    )Úannotations)ÚTYPE_CHECKINGÚAny)ÚSelfÚ	TypeAliasc                  ó"   — 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.
    © TÚargsr   Úreturnr   c                ó8   — t                                | |¦  «        S ©N©ÚtupleÚ__new__©Úclsr   s     ú:C:\Projects\DSCons\.venv\Lib\site-packages\hpack\struct.pyr   zHeaderTuple.__new__   ó   € Ý�}Š}˜S $Ñ'Ô'Ð'ó    N©r   r   r   r   ©Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Ú	indexabler   r
   r   r   r	   r	      s>   € € € € € ðð ð €Ià€Ið(ð (ð (ð (ð (ð (r   r	   c                  ó"   — e Zd ZdZdZdZd
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
   Fr   r   r   r   c                ó8   — t                                | |¦  «        S r   r   r   s     r   r   zNeverIndexedHeaderTuple.__new__-   r   r   Nr   r   r
   r   r   r    r    #   s>   € € € € € ðð ð
 €Ià€Ið(ð (ð (ð (ð (ð (r   r    z;HeaderTuple | NeverIndexedHeaderTuple | tuple[bytes, bytes]r   ÚHeaderzGHeaderTuple | NeverIndexedHeaderTuple | tuple[bytes | str, bytes | str]ÚHeaderWeaklyTypedN)r   Ú
__future__r   Útypingr   r   Útyping_extensionsr   r   r   Úbytesr	   r    r"   Ú__annotations__r#   r
   r   r   ú<module>r)      sé   ððð ð ð #Ð "Ð "Ð "Ð "Ð "à %Ð %Ð %Ð %Ð %Ð %Ð %Ð %àð 2Ø1Ð1Ð1Ð1Ð1Ð1Ð1Ð1ð(ð (ð (ð (ð (�%˜˜u˜Ô%ñ (ô (ð (ð.(ð (ð (ð (ð (˜kñ (ô (ð (ð R€Ð QÐ QÐ QÑ QØhÐ Ð hÐ hÐ hÑ hÐ hÐ hr   