bgVddlmZddlZddlmZddlmZmZddlm Z ej e ej ej eje efZGddejZGd d ejZejr1ddlZdd lmZmZdd lmZGd deZGddeeZdSdS)) annotationsN)_TYPE_SOCKET_OPTIONS)_DEFAULT_TIMEOUT _TYPE_TIMEOUT)Urlc8eZdZUded<ded<ded<ded<d S) ProxyConfigssl.SSLContext | None ssl_contextbooluse_forwarding_for_httpsNone | str | Literal[False]assert_hostname str | Noneassert_fingerprintN__name__ __module__ __qualname____annotations__O/opt/cloudlinux/venv/lib64/python3.11/site-packages/urllib3/_base_connection.pyr r sB&&&&""""0000""""""rr cBeZdZUded<ded<ded<ded<ded<dS) _ResponseOptionsstrrequest_method request_urlr preload_contentdecode_contentenforce_content_lengthNrrrrrrsP      rr)LiteralProtocol)BaseHTTPResponsec.eZdZUded<ded<ded<ded<d ed <ded <d ed <ded<ded<ded<ded<ded< d9eddddddd:d Z d;dd'd(d(d(d)d?d2Zd@d4Z d=d5Z e dAd6Z e dAd7Z e dAd8ZdS)BBaseHTTPConnectiontyping.ClassVar[int] default_port%typing.ClassVar[_TYPE_SOCKET_OPTIONS]default_socket_optionsrhostintportz None | floattimeout blocksizetuple[str, int] | Nonesource_address_TYPE_SOCKET_OPTIONS | Nonesocket_options Url | NoneproxyProxyConfig | None proxy_configr is_verifiedz bool | Noneproxy_is_verifiedN .)r/r2r0r4r6r8 int | NonerreturnNonecdSNr) selfr,r.r/r2r0r4r6r8s r__init__zBaseHTTPConnection.__init__7s  Crhttpheaderstyping.Mapping[str, str] | NoneschemecdSr@r)rAr,r.rDrFs r set_tunnelzBaseHTTPConnection.set_tunnelEs  CrcdSr@rrAs rconnectzBaseHTTPConnection.connectN CrFT)chunkedr r!r"methodurlbody_TYPE_BODY | NonerMr r!r"cdSr@r) rArNrOrPrDrMr r!r"s rrequestzBaseHTTPConnection.requestQs  Crr%cdSr@rrJs r getresponsezBaseHTTPConnection.getresponsebrLrcdSr@rrJs rclosezBaseHTTPConnection.closeerLrcdS)zWhether the connection either is brand new or has been previously closed. If this property is True then both ``is_connected`` and ``has_connected_to_proxy`` properties must be False. NrrJs r is_closedzBaseHTTPConnection.is_closedhrcdS)zLWhether the connection is actively connected to any origin (proxy or target)NrrJs r is_connectedzBaseHTTPConnection.is_connectedorZrcdS)zWhether the connection has successfully connected to its proxy. This returns False if no proxy is in use. Used to determine whether errors are coming from the proxy layer or from tunnelling to the target origin. NrrJs rhas_connected_to_proxyz)BaseHTTPConnection.has_connected_to_proxysrZrr@)r,rr.r<r/rr2r1r0r-r4r3r6r5r8r7r=r>)NNrC) r,rr.r<rDrErFrr=r>)r=r>)NN)rNrrOrrPrQrDrErMr r r r!r r"r r=r>)r=r%)r=r )rrrrrrBrHrKrSrUrWpropertyrYr\r^rrrr'r'$s****EEEE       ....3333((((&&&& $  &659!:= $/3      " $7;          '+7;  "$(#'+/      "                _ _ _  _        rr'ceZdZUded<ded<ded<ded<d ed <d ed <d ed <d ed<ded<ded<ded<ded<d ed<d ed<d ed< d/eddddddddddddddddddddd0d.ZdS)1BaseHTTPSConnectionr(r)r*r+int | str | None cert_reqsrrrrr r ca_certs ca_cert_dirNone | str | bytes ca_cert_datar<ssl_minimum_versionssl_maximum_version ssl_version cert_filekey_file key_passwordNr;.)r/r2r0r4r6r8rcrrserver_hostnamer rdrergrhrirjrkrlrmr,rr.r/rr2r1r0r-r4r3r6r5r8r7rnr=r>cdSr@r)rAr,r.r/r2r0r4r6r8rcrrrnr rdrergrhrirjrkrlrms rrBzBaseHTTPSConnection.__init__s 4 Crr@).r,rr.r<r/rr2r1r0r-r4r3r6r5r8r7rcrbrrrrrnrr r rdrrerrgrfrhr<rir<rjrbrkrrlrrmrr=r>)rrrrrrBrrrrarazs8****EEEE $###4444&&&&**** (((( ('''''''%%%%     $  &659!:= $/3*.;?-1*.15#'&*/3.2.2,0$(#''+1        rra) __future__rtypingutil.connectionr util.timeoutrrutil.urlrUnionbytesIOAnyIterabler _TYPE_BODY NamedTupler r TYPE_CHECKINGssltyping_extensionsr#r$responser%r'rarrrrs"""""" 11111199999999 \%6:!68NPSS T #####&####!!!!!v(!!! PJJJ33333333******TTTTTXTTTl333330(33333{PPr