5,jXddlmZddlZddlmZddlmZmZddlm Z ej e ej ej eje ezefZGddejZGd d ejZejr/ddlZdd lmZdd lmZGd deZGddeeZdSdS)) annotationsN)_TYPE_SOCKET_OPTIONS)_DEFAULT_TIMEOUT _TYPE_TIMEOUT)Urlc8eZdZUded<ded<ded<ded<d S) ProxyConfigssl.SSLContext | None ssl_contextbooluse_forwarding_for_https"None | str | typing.Literal[False]assert_hostname str | Noneassert_fingerprintN__name__ __module__ __qualname____annotations__HC:\PYTHON\GemmaClient\venv\Lib\site-packages\urllib3/_base_connection.pyr r sB&&&&""""7777""""""rr cBeZdZUded<ded<ded<ded<ded<dS) _ResponseOptionsstrrequest_method request_urlr preload_contentdecode_contentenforce_content_lengthNrrrrrrsP      rr)Protocol)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_verifiedNi .)r.r1r/r3r5r7 int | NonerreturnNonecdSNr) selfr+r-r.r1r/r3r5r7s r__init__zBaseHTTPConnection.__init__8s 3rhttpheaderstyping.Mapping[str, str] | NoneschemecdSr>r)r?r+r-rBrDs r set_tunnelzBaseHTTPConnection.set_tunnelEs 3rcdSr>rr?s rconnectzBaseHTTPConnection.connectMrFT)chunkedr r!r"methodurlbody_TYPE_BODY | NonerKr r!r"cdSr>r) r?rLrMrNrBrKr r!r"s rrequestzBaseHTTPConnection.requestOs 3rr$cdSr>rrHs r getresponsezBaseHTTPConnection.getresponse_rJrcdSr>rrHs rclosezBaseHTTPConnection.closearJrcdS)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. NrrHs r is_closedzBaseHTTPConnection.is_closedcrJrcdS)zLWhether the connection is actively connected to any origin (proxy or target)NrrHs r is_connectedzBaseHTTPConnection.is_connectedjrJrcdS)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. NrrHs rhas_connected_to_proxyz)BaseHTTPConnection.has_connected_to_proxynrJrr>)r+rr-r:r.rr1r0r/r,r3r2r5r4r7r6r;r<)NNrA) r+rr-r:rBrCrDrr;r<)r;r<)NN)rLrrMrrNrOrBrCrKr r r r!r r"r r;r<)r;r$)r;r )rrrrrr@rFrIrQrSrUpropertyrWrYr[rrrr&r&%s****EEEE       ....3333((((&&&& $  &659!:= $/3       $7;       '&&& '+7;  "$(#'+/       7666$$$$        _ _ _  _        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_passwordNi@.)r.r1r/r3r5r7r`rrserver_hostnamer rarbrdrerfrgrhrirjr+rr-r.rr1r0r/r,r3r2r5r4r7r6rkr;r<cdSr>r)r?r+r-r.r1r/r3r5r7r`rrrkr rarbrdrerfrgrhrirjs rr@zBaseHTTPSConnection.__init__s 23rr>).r+rr-r:r.rr1r0r/r,r3r2r5r4r7r6r`r_rrrrrkrr r rarrbrrdrcrer:rfr:rgr_rhrrirrjrr;r<)rrrrrr@rrrr^r^us8****EEEE $###;;;;&&&&**** (((( ('''''''%%%%     $  &659":= $/3*.BF-1*.15#'&*/3.2.2,0$(#''+1        rr^) __future__rtypingutil.connectionr util.timeoutrrutil.urlrUnionbytesIOAnyIterabler _TYPE_BODY NamedTupler r TYPE_CHECKINGsslr#responser$r&r^rrrr|s"""""" 11111199999999 \ 69VZ &/%#+">C #####&####!!!!!v(!!! HJJJ******NNNNNXNNN`222220(22222mHHr