+
    LV-j  ã                   ó¾   € ^ RI HtHtHtHtHtHtHtHt . ROt	 ! R R]
4      t ! R R]4      t ! R R]4      tRR R	 llt]! R
RR7      t ! R R]4      tR R ltR# )é    )ÚAnyÚDictÚNoReturnÚPatternÚTupleÚTypeÚTypeVarÚUnionÚProtocolErrorÚLocalProtocolErrorÚRemoteProtocolErrorc                   ó:   a € ] tR t^t o RtRV 3R lR lltRtV tR# )r   a  Exception indicating a violation of the HTTP/1.1 protocol.

This as an abstract base class, with two concrete base classes:
:exc:`LocalProtocolError`, which indicates that you tried to do something
that HTTP/1.1 says is illegal, and :exc:`RemoteProtocolError`, which
indicates that the remote peer tried to do something that HTTP/1.1 says is
illegal. See :ref:`error-handling` for details.

In addition to the normal :exc:`Exception` features, it has one attribute:

.. attribute:: error_status_hint

   This gives a suggestion as to what status code a server might use if
   this error occurred as part of a request.

   For a :exc:`RemoteProtocolError`, this is useful as a suggestion for
   how you might want to respond to a misbehaving peer, if you're
   implementing a server.

   For a :exc:`LocalProtocolError`, this can be taken as a suggestion for
   how your peer might have responded to *you* if h11 had allowed you to
   continue.

   The default is 400 Bad Request, a generic catch-all for protocol
   violations.

c                ó*   <€ V ^8„  d   QhRS[ RS[RR/# )é   ÚmsgÚerror_status_hintÚreturnN)ÚstrÚint)ÚformatÚ__classdict__s   "€ÚZ/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/h11/_util.pyÚ__annotate__ÚProtocolError.__annotate__)   s"   ø€ ÷ 3ñ 3™Cð 3±Cð 3À$ñ 3ó    c                óx   € \        V 4      \        J d   \        R 4      h\        P	                  W4       W n        R# )z+tried to directly instantiate ProtocolErrorN)Útyper   Ú	TypeErrorÚ	ExceptionÚ__init__r   )Úselfr   r   s   &&&r   r    ÚProtocolError.__init__)   s.   € Ü�‹:œÓ&ÜÐIÓJÐJÜ×Ñ˜4Ô%Ø!2Ör   )r   N)i�  )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r    Ú__static_attributes__Ú__classdictcell__©r   s   @r   r   r      s   ø‡ € ñ÷83÷ 3ð 3r   c                   ó2   a € ] tR t^;t o V 3R lR ltRtV tR# )r   c                ó    <€ V ^8„  d   QhRS[ /# ©r   r   )r   )r   r   s   "€r   r   ÚLocalProtocolError.__annotate__<   s   ø€ ÷ ñ ±8ñ r   c                ó   € \         V n        V h©N)r   Ú	__class__©r!   s   &r   Ú!_reraise_as_remote_protocol_errorÚ4LocalProtocolError._reraise_as_remote_protocol_error<   s   € ô -ˆŒð ˆ
r   )r1   N)r#   r$   r%   r&   r3   r(   r)   r*   s   @r   r   r   ;   s   ø‡ € ÷ö r   c                   ó   € ] tR t^PtRtR# )r   © N)r#   r$   r%   r&   r(   r6   r   r   r   r   P   s   † Ûr   c                óŒ   € V ^8„  d   QhR\         \        ,          R\        R\        R\        R\        \        \        3,          /# )r   ÚregexÚdatar   Úformat_argsr   )r   Úbytesr   r   r   )r   s   "r   r   r   T   sA   € ÷ ñ Ü”5�>ðÜ!&ðÜ-0ðÜSVðä	Œ#Œuˆ*Õñr   c                 óš   € V P                  V4      pV'       g$   V'       d   VP                  ! V!  p\        V4      hVP                  4       # r0   )Ú	fullmatchr   r   Ú	groupdict)r8   r9   r   r:   Úmatchs   &&&* r   Úvalidater@   T   s>   € ð �O‰O˜DÓ!€EßßØ—*’*˜kÑ*ˆCÜ  Ó%Ð%Ø�?‰?ÓÐr   Ú_T_SentinelÚSentinel)Úboundc                   óP   a a€ ] tR t^kt oV3R lV 3R lltV3R lR ltRtVtV ;t# )rB   c                óx   <€ V ^8„  d   QhRS[ S[,          RS[RS[S[R3,          RS[S[S[3,          RS[RS[/# )r   ÚclsÚnameÚbases.Ú	namespaceÚkwdsr   )r   rA   r   r   r   r   r   )r   r   s   "€r   r   ÚSentinel.__annotate__l   s[   ø€ ÷ 
ñ 
Ù‘+Õð
áð
ñ ‘T˜3�YÕð
ñ ™™S˜•>ð	
ñ
 ð
ñ 
ñ
r   c                óT   <€ V\         38X  g   Q h\        SV `  ! WW#3/ VB pWUn        V# r0   )rB   ÚsuperÚ__new__r1   )rF   rG   rH   rI   rJ   Úvr1   s   &&&&, €r   rN   ÚSentinel.__new__l   s4   ø€ ð œ˜Ô#Ð#Ð#Ü‰GŠO˜C uÑ@¸4Ñ@ˆØŒØˆr   c                ó    <€ V ^8„  d   QhRS[ /# r-   )r   )r   r   s   "€r   r   rK   x   s   ø€ ÷ ñ ™#ñ r   c                ó   € V P                   # r0   )r#   r2   s   &r   Ú__repr__ÚSentinel.__repr__x   s   € Ø�}‰}Ðr   r6   )	r#   r$   r%   r&   rN   rS   r(   r)   Ú__classcell__)r1   r   s   @@r   rB   rB   k   s   ù‡ € ÷
ó 
÷÷ ð r   c                óp   € V ^8„  d   QhR\         \        \        \        \        \
        3,          R\        /# )r   Úsr   )r
   r;   Ú	bytearrayÚ
memoryviewr   r   )r   s   "r   r   r      s*   € ÷ ñ ””eœY¬
´C¼Ð<Õ=ð Ä%ñ r   c                 óÒ   € \        V 4      \        J d   V # \        V \        4      '       d   V P	                  R 4      p \        V \
        4      '       d   \        R4      h\        V 4      # )Úasciiz#expected bytes-like object, not int)r   r;   Ú
isinstancer   Úencoder   r   )rW   s   &r   Úbytesifyr^      sP   € äˆAƒw”%ÓØˆÜ�!”S×ÒØ�H‰H�WÓˆÜ�!”S×ÒÜÐ=Ó>Ð>Ü�‹8€Or   N)r   r   r   r@   r^   )zmalformed data)Útypingr   r   r   r   r   r   r	   r
   Ú__all__r   r   r   r   r@   rA   r   rB   r^   r6   r   r   Ú<module>ra      s^   ðß L× LÓ Lò€ô!3�Iô !3ô^˜ô ô*	˜-ô 	÷ñ( �m¨:Ô6€ôˆtô ÷(r   