
    2h                        S SK r S SKrS SKrS SKJrJr  S SKJr  S SKJ	r	J
r
  S SKJrJrJrJrJrJrJrJrJrJrJrJrJr  S SKJr  S SKJr  SS	KJr  SS
KJ r   \(       a  SSK!J"r"  SSK#J$r$  SSK%J&r&J'r'  SSK(J)r)  O
S=r&=r'=r"r)Sr$ " S S\5      r* " S S\5      r+ " S S\5      r, " S S\5      r- " S S\5      r.\(       a	  \\
\/      r0O\r0\S/\14   r2 " S S\\05      r3 " S S\5      r4 " S S\5      r5g)     N)ABCabstractmethod)Sized)
BaseCookieMorsel)TYPE_CHECKINGAny	AwaitableCallableDict	GeneratorIterableListOptionalSequenceTuple	TypedDictUnion)CIMultiDict)URL   )parse_set_cookie_headers)LooseCookies)Application)HTTPException)BaseRequestRequest)StreamResponsec                   n    \ rS rSrSS jrS\SS4S jr\S\4S j5       r	SS jr
\S	\SS
4S j5       rSrg)AbstractRouter'   returnNc                     SU l         g )NF_frozenselfs    C/var/www/auris/envauris/lib/python3.13/site-packages/aiohttp/abc.py__init__AbstractRouter.__init__(   s	        appc                     g)zPost init stage.

Not an abstract method for sake of backward compatibility,
but if the router wants to be aware of the application
it can override this.
N r'   r,   s     r(   	post_initAbstractRouter.post_init+       r+   c                     U R                   $ Nr$   r&   s    r(   frozenAbstractRouter.frozen3   s    ||r+   c                     SU l         g)zFreeze router.TNr$   r&   s    r(   freezeAbstractRouter.freeze7   s	    r+   requestAbstractMatchInfoc                    #    g7f)z#Return MATCH_INFO for given requestNr.   r'   r:   s     r(   resolveAbstractRouter.resolve;           r$   r"   N)__name__
__module____qualname____firstlineno__r)   r   r0   propertyboolr5   r8   r   r   r>   __static_attributes__r.   r+   r(   r    r    '   s]    [ T     2W 21D 2 2r+   r    c                   ,   \ rS rSrSr\\S\\/\	\
   4   4S j5       5       r\\S\\/\	\\
      4   4S j5       5       r\\S\\   4S j5       5       r\S\\\4   4S j5       r\\S\\S4   4S	 j5       5       r\S
\SS4S j5       r\SS j5       rSrg)r;   @   r.   r"   c                     g)zExecute matched request handlerNr.   r&   s    r(   handlerAbstractMatchInfo.handlerD   r2   r+   c                     g)z*Expect handler for 100-continue processingNr.   r&   s    r(   expect_handler AbstractMatchInfo.expect_handlerI   r2   r+   c                     g)z<HTTPException instance raised on router's resolving, or NoneNr.   r&   s    r(   http_exception AbstractMatchInfo.http_exceptionP   r2   r+   c                     g)z;Return a dict with additional info useful for introspectionNr.   r&   s    r(   get_infoAbstractMatchInfo.get_infoU   r2   r+   .c                     g)zLStack of nested applications.

Top level application is left-most element.

Nr.   r&   s    r(   appsAbstractMatchInfo.appsY   r2   r+   r,   Nc                     g)z)Add application to the nested apps stack.Nr.   r/   s     r(   add_appAbstractMatchInfo.add_appb   r2   r+   c                     g)zoFreeze the match info.

The method is called after route resolution.

After the call .add_app() is forbidden.

Nr.   r&   s    r(   r8   AbstractMatchInfo.freezef   r2   r+   rB   )rC   rD   rE   rF   	__slots__rG   r   r   r   r
   r   rM   r   rP   r   rS   r   strr	   rV   r   r   rY   r\   r8   rI   r.   r+   r(   r;   r;   @   s'   I.7)Y~-F"FG .  . 9	7)Yx'?@@	A9  9
 K 7 K  K J$sCx. J J eK,-    8; 84 8 8  r+   r;   c                   f    \ rS rSrSrS\SS4S jr\S\4S j5       r\	S\
\S\4   4S j5       rS	rg)
AbstractViewq   zAbstract class based view.r:   r"   Nc                     Xl         g r4   _requestr=   s     r(   r)   AbstractView.__init__t   s    r+   c                     U R                   $ )zRequest instance.rf   r&   s    r(   r:   AbstractView.requestw   s     }}r+   c                     g)zExecute the view handler.Nr.   r&   s    r(   	__await__AbstractView.__await__|   r2   r+   rf   )rC   rD   rE   rF   __doc__r   r)   rG   r:   r   r   r	   r   rl   rI   r.   r+   r(   rc   rc   q   sZ    $   D      (9S$%>? ( (r+   rc   c                   V    \ rS rSr% Sr\\S'   \\S'   \\S'   \\S'   \\S'   \\S'   S	rg
)ResolveResult   aq  Resolve result.

This is the result returned from an AbstractResolver's
resolve method.

:param hostname: The hostname that was provided.
:param host: The IP address that was resolved.
:param port: The port that was resolved.
:param family: The address family that was resolved.
:param proto: The protocol that was resolved.
:param flags: The flags that were resolved.
hostnamehostportfamilyprotoflagsr.   N)	rC   rD   rE   rF   rn   ra   __annotations__intrI   r.   r+   r(   rp   rp      s'     M
I
IKJJr+   rp   c                       \ rS rSrSr\S\R                  4S\S\	S\R                  S\\   4S jj5       r\SS
 j5       rSrg	)AbstractResolver   zAbstract DNS resolver.r   rs   rt   ru   r"   c                    #    g7f)z$Return IP address for given hostnameNr.   )r'   rs   rt   ru   s       r(   r>   AbstractResolver.resolve   r@   rA   Nc                    #    g7f)zRelease resolverNr.   r&   s    r(   closeAbstractResolver.close   r@   rA   r.   rB   )rC   rD   rE   rF   rn   r   socketAF_INETra   ry   AddressFamilyr   rp   r>   r   rI   r.   r+   r(   r{   r{      s_     %&v~~33"3060D0D3	m	3 3
  r+   r{   zMorsel[str]c                      \ rS rSrSrSS.S\\R                     SS4S jjr\	\
S\4S j5       5       r\
SS	\\   SS4S
 jj5       r\
S\SS4S j5       r\
\" 5       4S\S\SS4S jj5       rS\\   S\SS4S jr\
S\SS4S j5       rSrg)AbstractCookieJar   zAbstract Cookie Jar.N)loopr   r"   c                J    U=(       d    [         R                  " 5       U l        g r4   )asyncioget_running_loop_loop)r'   r   s     r(   r)   AbstractCookieJar.__init__   s    7W557
r+   c                     g)z(Return True if cookies should be quoted.Nr.   r&   s    r(   quote_cookieAbstractCookieJar.quote_cookie   r2   r+   	predicatec                     g)z,Clear all cookies if no predicate is passed.Nr.   )r'   r   s     r(   clearAbstractCookieJar.clear   r2   r+   domainc                     g)z0Clear all cookies for domain and all subdomains.Nr.   )r'   r   s     r(   clear_domainAbstractCookieJar.clear_domain   r2   r+   cookiesresponse_urlc                     g)zUpdate cookies.Nr.   )r'   r   r   s      r(   update_cookies AbstractCookieJar.update_cookies   r2   r+   headersc                 \    U(       a%  [        U5      =n(       a  U R                  X25        ggg)z+Update cookies from raw Set-Cookie headers.N)r   r   )r'   r   r   cookies_to_updates       r(   update_cookies_from_headers-AbstractCookieJar.update_cookies_from_headers   s/     -Eg-NN)N 1@ O7r+   request_urlzBaseCookie[str]c                     g)z6Return the jar's cookies filtered by their attributes.Nr.   )r'   r   s     r(   filter_cookies AbstractCookieJar.filter_cookies   r2   r+   )r   r4   )rC   rD   rE   rF   rn   r   r   AbstractEventLoopr)   rG   r   rH   r   ClearCookiePredicater   ra   r   r   r   r   r   r   r   rI   r.   r+   r(   r   r      s   FJ 8)B)B C 8t 8 7d 7  7 ;x(<= ; ; ; ?3 ?4 ? ? HK l # RV  A}A47A	A E# E2C E Er+   r   c                      \ rS rSr% SrSr\\S'   Sr\\S'   Sr	\
\   \S'   \S\\\\4   SS	4S
 j5       r\SS\SS	4S jj5       r\SS j5       r\ SS\S\
\   SS	4S jj5       r\SS j5       r\S\SSSS	4S j5       rSS jrSrg	)AbstractStreamWriter   zAbstract stream writer.r   buffer_sizeoutput_sizelengthchunkr"   Nc                    #    g7f)zWrite chunk into stream.Nr.   r'   r   s     r(   writeAbstractStreamWriter.write   r@   rA   c                    #    g7f)zWrite last chunk.Nr.   r   s     r(   	write_eofAbstractStreamWriter.write_eof   r@   rA   c                    #    g7f)zFlush the write buffer.Nr.   r&   s    r(   drainAbstractStreamWriter.drain   r@   rA   encodingstrategyc                     g)zEnable HTTP body compressionNr.   )r'   r   r   s      r(   enable_compression'AbstractStreamWriter.enable_compression   r2   r+   c                     g)zEnable HTTP chunked modeNr.   r&   s    r(   enable_chunking$AbstractStreamWriter.enable_chunking   r2   r+   status_liner   zCIMultiDict[str]c                    #    g7f)zWrite HTTP headersNr.   )r'   r   r   s      r(   write_headers"AbstractStreamWriter.write_headers   r@   rA   c                     g)zForce sending buffered headers if not already sent.

Required only if write_headers() buffers headers instead of sending immediately.
For backwards compatibility, this method does nothing by default.
Nr.   r&   s    r(   send_headers!AbstractStreamWriter.send_headers   r2   r+   r.   )r+   rB   )deflateN)rC   rD   rE   rF   rn   r   ry   rx   r   r   r   r   r   bytes	bytearray
memoryviewr   r   r   ra   r   r   r   r   rI   r.   r+   r(   r   r      s   !KKFHSM'ui'C!D ' ' '  U  T     & & CG++3;C=+	+ +
 ' ' !!);!	! !
r+   r   c            	           \ rS rSrSrSrS\R                  S\SS4S jr	\
S	\S
\S\SS4S j5       r\S\4S j5       rSrg)AbstractAccessLogger   zAbstract writer to access log.logger
log_formatr   r   r"   Nc                     Xl         X l        g r4   r   )r'   r   r   s      r(   r)   AbstractAccessLogger.__init__  s    $r+   r:   responsetimec                     g)zEmit log to logger.Nr.   )r'   r:   r   r   s       r(   logAbstractAccessLogger.log  r2   r+   c                     g)zCheck if logger is enabled.Tr.   r&   s    r(   enabledAbstractAccessLogger.enabled	  s     r+   )r   r   )rC   rD   rE   rF   rn   r`   loggingLoggerra   r)   r   r   r   floatr   rG   rH   r   rI   r.   r+   r(   r   r      st    ((I%w~~ %3 %4 % "; ". " "RV " "   r+   r   )6r   r   r   abcr   r   collections.abcr   http.cookiesr   r   typingr   r	   r
   r   r   r   r   r   r   r   r   r   r   	multidictr   yarlr   _cookie_helpersr   typedefsr   web_appr   web_exceptionsr   web_requestr   r   web_responser   r    r;   rc   rp   r{   ra   IterableBaserH   r   r   r   r   r.   r+   r(   <module>r      s       # ! +     "  5 "$-1,;??K?'?K.M2S 22. .b(3 ( I ,s  F3K(LL   56  E|  EF(3 (V3 r+   