1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
Ë
ê^ik©ãóú—ddlmZddlZddlZddlZddlZddlZddlZddlZddl    m
Z ddl m Z ddlmZddlmZddlmZdd    lmZmZmZmZmZmZmZmZdd
lmZdd lmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+dd l,m-Z-dd l.m/Z/ddl0m1Z1ddl2m3Z3m4Z4ddl5m6Z6ddl7m8Z8ddl9m:Z:m;Z;m<Z<ddl=m>Z>m?Z?ddl=m@ZAddl=mBZBddlCmDZDejŠrddlFZFddlGmHZHddlmIZImJZJej–eL«ZMejœe<eOe;dfZPGd„d«ZQej¤ej¦hZTGd„deQe«ZUGd„deU«ZVd%d„ZWej°d&d „«Z@ej°d'd!„«Z@d(d"„Z@    d)                    d*d#„ZYd+d$„ZZy),é)Ú annotationsN©Útimeout)Ú TracebackTypeé)Ú
_TYPE_BODY)ÚHTTPHeaderDict)ÚRequestMethods)Ú BaseSSLErrorÚBrokenPipeErrorÚDummyConnectionÚHTTPConnectionÚ HTTPExceptionÚHTTPSConnectionÚ ProxyConfigÚ_wrap_proxy_error)Úport_by_scheme) ÚClosedPoolErrorÚEmptyPoolErrorÚ FullPoolErrorÚHostChangedErrorÚInsecureRequestWarningÚLocationValueErrorÚ MaxRetryErrorÚNewConnectionErrorÚ ProtocolErrorÚ
ProxyErrorÚReadTimeoutErrorÚSSLErrorÚ TimeoutError)ÚBaseHTTPResponse)Úis_connection_dropped)Úconnection_requires_http_tunnel)Ú_TYPE_BODY_POSITIONÚset_file_position)ÚRetry)ÚCertificateError)Ú_DEFAULT_TIMEOUTÚ _TYPE_DEFAULTÚTimeout)ÚUrlÚ_encode_target)Ú_normalize_host)Ú    parse_url)Úto_str)ÚSelf)ÚBaseHTTPConnectionÚBaseHTTPSConnectioncór—eZdZUdZdZded<ejZd
d d„Z    d d„Z
d d„Z                                 dd„Z dd    „Z y)ÚConnectionPoola;
    Base class for all connection pools, such as
    :class:`.HTTPConnectionPool` and :class:`.HTTPSConnectionPool`.
 
    .. note::
       ConnectionPool.urlopen() does not normalize or percent-encode target URIs
       which is useful if your target server doesn't support percent-encoded
       target URIs.
    Nú
str | NoneÚschemecó¸—|s td«‚t||j¬«|_||_t ||j¬«j «|_y)NzNo host specified.©r6)rr-r6ÚhostÚportÚnormalize_hostÚlowerÚ _tunnel_host)Úselfr9r:s   õiH:\项目\archive\测试组\脚本\Change_password\venv_build\Lib\site-packages\urllib3/connectionpool.pyÚ__init__zConnectionPool.__init__QsH€ÙÜ$Ð%9Ó:Ð :ä# D°·±Ô=ˆŒ    ØˆŒ    ô +¨4¸¿ ¹ ÔD×JÑJÓLˆÕócóf—t|«j›d|j›d|j›dS)Nz(host=z, port=ú))ÚtypeÚ__name__r9r:©r>s r?Ú__str__zConnectionPool.__str__^s.€Üt“*×%Ñ%Ð& f¨T¯Y©Y¨M¸ÀÇÁÀ ÈQÐOÐOrAcó—|S©N©rFs r?Ú    __enter__zConnectionPool.__enter__as€Øˆ rAcó$—|j«y)NF)Úclose)r>Úexc_typeÚexc_valÚexc_tbs    r?Ú__exit__zConnectionPool.__exit__ds€ð      
‰
Œ àrAcó—y©zD
        Close all pooled connections and disable the pool.
        NrJrFs r?rMzConnectionPool.closenórArI)r9Ústrr:ú
int | NoneÚreturnÚNone)rWrU)rWr0)rNztype[BaseException] | NonerOzBaseException | NonerPzTracebackType | NonerWztyping.Literal[False]©rWrX)rEÚ
__module__Ú __qualname__Ú__doc__r6Ú__annotations__ÚqueueÚ    LifoQueueÚQueueClsr@rGrKrQrMrJrAr?r4r4Cs]…ñð€FˆJÓØ‰€Hô MóPóðà,ðð&ðð%ð    ð
 
ó ô rAr4c ór—eZdZUdZdZeZded<dedddddddf                                                                                        dd„Z    dd    „Z
ddd
„Z dd „Z dd „Z dd „Zdd„Z                                dd„Zdddedddddf                                                                                                        dd„Zdd„Zdd„Zdddddeddddddf                                                                                                                             d d„Zy)!ÚHTTPConnectionPoola
    Thread-safe connection pool for one host.
 
    :param host:
        Host used for this HTTP Connection (e.g. "localhost"), passed into
        :class:`http.client.HTTPConnection`.
 
    :param port:
        Port used for this HTTP Connection (None is equivalent to 80), passed
        into :class:`http.client.HTTPConnection`.
 
    :param timeout:
        Socket timeout in seconds for each individual connection. This can
        be a float or integer, which sets the timeout for the HTTP request,
        or an instance of :class:`urllib3.util.Timeout` which gives you more
        fine-grained control over request timeouts. After the constructor has
        been parsed, this is always a `urllib3.util.Timeout` object.
 
    :param maxsize:
        Number of connections to save that can be reused. More than 1 is useful
        in multithreaded situations. If ``block`` is set to False, more
        connections will be created but they will not be saved once they've
        been used.
 
    :param block:
        If set to True, no more than ``maxsize`` connections will be used at
        a time. When no free connections are available, the call will block
        until a connection has been released. This is a useful side effect for
        particular multithreaded situations where one does not want to use more
        than maxsize connections per host to prevent flooding.
 
    :param headers:
        Headers to include with all requests, unless other headers are given
        explicitly.
 
    :param retries:
        Retry configuration to use by default with requests in this pool.
 
    :param _proxy:
        Parsed proxy URL, should not be used directly, instead, see
        :class:`urllib3.ProxyManager`
 
    :param _proxy_headers:
        A dictionary with proxy headers, should not be used directly,
        instead, see :class:`urllib3.ProxyManager`
 
    :param \**conn_kw:
        Additional parameters are used to create fresh :class:`urllib3.connection.HTTPConnection`,
        :class:`urllib3.connection.HTTPSConnection` instances.
    Úhttpz4type[BaseHTTPConnection] | type[BaseHTTPSConnection]Ú ConnectionClsNrFc  óÖ—tj|||«tj||«t|t«st    j
|«}|€t j}||_||_    |j|«|_ ||_ ||_ |    xsi|_|
|_t!|«D]} |jj#d«Œd|_d|_| |_|jrN|j(j+dg«|j|j(d<|j|j(d<|j} t-j.|t0| «y)NrÚsocket_optionsÚproxyÚ proxy_config)r4r@r
Ú
isinstancer*Ú
from_floatr&ÚDEFAULTrÚretriesr`ÚpoolÚblockrgÚ proxy_headersrhÚrangeÚputÚnum_connectionsÚ num_requestsÚconn_kwÚ
setdefaultÚweakrefÚfinalizeÚ_close_pool_connections)r>r9r:rÚmaxsizernÚheadersrlÚ_proxyÚ_proxy_headersÚ _proxy_configrtÚ_rms              r?r@zHTTPConnectionPool.__init__¯s1€ô    ×Ñ  d¨DÔ1Ü×Ñ  gÔ.ä˜'¤7Ô+Ü×(Ñ(¨Ó1ˆGà ˆ?Ü—m‘mˆGàˆŒ ؈Œ à8<¿ ¹ ÀgÓ8NˆŒ    ØˆŒ
àˆŒ
Ø+Ò1¨rˆÔØ)ˆÔôw“ò     ˆAØ I‰IM‰M˜$Õ ð     ð !ˆÔØˆÔØˆŒ à :Š:ð L‰L× #Ñ #Ð$4°bÔ 9à$(§J¡JˆDL‰L˜Ñ !Ø+/×+<Ñ+<ˆDL‰L˜Ñ (ð y‰yˆô    ×јÔ6¸Õ=rAcó4—|xjdz c_tjd|j|j|jxsd«|j
d|j|j|j jdœ|j¤Ž}|S)z9
        Return a fresh :class:`HTTPConnection`.
        rz(Starting new HTTP connection (%d): %s:%sÚ80)r9r:rrJ)    rrÚlogÚdebugr9r:rdrÚconnect_timeoutrt©r>Úconns  r?Ú    _new_connzHTTPConnectionPool._new_connìs‰€ð     ×Ò Ñ!ÕÜ     ‰    Ø 6Ø ×  Ñ  Ø I‰IØ I‰IÒ ˜ô        
ð"ˆt×!Ñ!ð
Ø—‘Ø—‘Ø—L‘L×0Ñ0ñ
ðl‰lñ    
ˆð ˆ rAcó¶—d}|j€ t|d«‚    |jj|j|¬«}|r;t|«r0tjd|j«|j«|xs|j«S#t$rt|d«d‚t
j $r|jr t|d«d‚YŒ”wxYw)a™
        Get a connection. Will return a pooled connection if one is available.
 
        If no connections are available and :prop:`.block` is ``False``, then a
        fresh connection is returned.
 
        :param timeout:
            Seconds to wait before giving up and raising
            :class:`urllib3.exceptions.EmptyPoolError` if the pool is empty and
            :prop:`.block` is ``True``.
        NzPool is closed.)rnrzHPool is empty and a new connection can't be opened due to blocking mode.z Resetting dropped connection: %s)rmrÚgetrnÚAttributeErrorr^ÚEmptyrr"rr‚r9rMr†)r>rr…s   r?Ú    _get_connzHTTPConnectionPool._get_conns̀ðˆà 9‰9Ð Ü! $Ð(9Ó:Ð :ð     Ø—9‘9—=‘= t§z¡z¸7=ÓCˆDñ Ô)¨$Ô/Ü I‰IÐ8¸$¿)¹)Ô DØ J‰JŒLàÒ't—~‘~Ó'Ð'øô!ò    EÜ! $Ð(9Ó:ÀÐ Dä{‰{ò    ØzŠzÜ$ØØ^óððñ ð     úsœ'BÂACÃCcóŽ—|j    |jj|d¬«y|r|j «yy#t$rYŒtj$rg|r|j «|j r t|d«d‚tjd|j|jj««YŒ—wxYw)aä
        Put a connection back into the pool.
 
        :param conn:
            Connection object for the current host and port as returned by
            :meth:`._new_conn` or :meth:`._get_conn`.
 
        If the pool is already full, the connection is closed and discarded
        because we exceeded maxsize. If connections are discarded frequently,
        then maxsize should be increased.
 
        If the pool is closed, then the connection will be closed and discarded.
        NF©rnz>Pool reached maximum size and no more connections are allowed.zLConnection pool is full, discarding connection: %s. Connection pool size: %s) rmrqr‰r^ÚFullrMrnrrÚwarningr9Úqsizer„s  r?Ú    _put_connzHTTPConnectionPool._put_conn&s®€ð 9‰9Ð  ð Ø—    ‘    — ‘ ˜d¨% Ô0Øñ. Ø J‰JLð øô-"ò áÜ—:‘:ò áØ—J‘J”Là—:’:ä'ØØXóð ð ô
— ‘ ØbØ—I‘IØ—I‘I—O‘OÓ%öð úsŽAÁ    CÁ A6CÃCcó—y)úU
        Called right before a request is made, after the socket is created.
        NrJr„s  r?Ú_validate_connz!HTTPConnectionPool._validate_connQrTrAcó—yrIrJr„s  r?Ú_prepare_proxyz!HTTPConnectionPool._prepare_proxyVs€à rAcó°—|tur|jj«St|t«r|j«St    j
|«S)z:Helper that always returns a :class:`urllib3.util.Timeout`)r(rÚclonerir*rj)r>rs  r?Ú _get_timeoutzHTTPConnectionPool._get_timeoutZsG€à Ô&Ñ &Ø—<‘<×%Ñ%Ó'Ð 'ä gœwÔ 'Ø—=‘=“?Ð "ô×%Ñ% gÓ.Ð .rAcóª—t|t«rt||d|›d«|‚t|d«r%|jt
vrt||d|›d«|‚yy)zAIs the error actually a timeout? Will raise a ReadTimeout or passúRead timed out. (read timeout=rCÚerrnoN)riÚ SocketTimeoutrÚhasattrrœÚ_blocking_errnos)r>ÚerrÚurlÚ timeout_values    r?Ú_raise_timeoutz!HTTPConnectionPool._raise_timeoutfsq€ô cœ=Ô )Ü"ؐcÐ;¸M¸?È!ÐLóàð ô
3˜Ô   S§Y¡YÔ2BÑ%BÜ"ؐcÐ;¸M¸?È!ÐLóàð ð&CÐ  rATc óP—|xjdz c_|j|«} | j«tj| j
«|_        |j|«        |j+||||||
| | ¬«| j4}|j6s|dk(rt9||d|›d«‚||_    |j;«}||_|    |_||_ tBjEd|j(|jF|jH|||jJ|jL|jN«    |S#ttf$r$}|j|||j ¬«‚d}~wwxYw#ttttttf$r„}|}t!|ttf«r t|«}t!|ttttf«r:|r8|j"r,|j$s t'||j"j(«}|‚d}~wwxYw#t,$rYŒ¢t$rF}|j.t.j0k7r|j.t.j2k7r‚Yd}~Œëd}~wwxYw#ttf$r}|j|||¬«‚d}~wwxYw)    a8
 
        Perform a request on a given urllib connection object taken from our
        pool.
 
        :param conn:
            a connection from one of our connection pools
 
        :param method:
            HTTP request method (such as GET, POST, PUT, etc.)
 
        :param url:
            The URL to perform the request on.
 
        :param body:
            Data to send in the request body, either :class:`str`, :class:`bytes`,
            an iterable of :class:`str`/:class:`bytes`, or a file-like object.
 
        :param headers:
            Dictionary of custom headers to send, such as User-Agent,
            If-None-Match, etc. If None, pool headers are used. If provided,
            these headers completely replace any pool-specific headers.
 
        :param retries:
            Configure the number of retries to allow before raising a
            :class:`~urllib3.exceptions.MaxRetryError` exception.
 
            Pass ``None`` to retry until you receive a response. Pass a
            :class:`~urllib3.util.retry.Retry` object for fine-grained control
            over different types of retries.
            Pass an integer number to retry connection errors that many times,
            but no other types of errors. Pass zero to never retry.
 
            If ``False``, then retries are disabled and any exception is raised
            immediately. Also, instead of raising a MaxRetryError on redirects,
            the redirect response will be returned.
 
        :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
 
        :param timeout:
            If specified, overrides the default timeout for this one
            request. It may be a float (in seconds) or an instance of
            :class:`urllib3.util.Timeout`.
 
        :param chunked:
            If True, urllib3 will send the body using chunked transfer
            encoding. Otherwise, urllib3 will send the body using the standard
            content-length form. Defaults to False.
 
        :param response_conn:
            Set this to ``None`` if you will handle releasing the connection or
            set the connection to have the response release it.
 
        :param preload_content:
          If True, the response's body will be preloaded during construction.
 
        :param decode_content:
            If True, will attempt to decode the body based on the
            'content-encoding' header.
 
        :param enforce_content_length:
            Enforce content length checking. Body returned by server must match
            value of Content-Length header, if present. Otherwise, raise error.
        r©r r¡r¢N)ÚbodyrzÚchunkedÚpreload_contentÚdecode_contentÚenforce_content_lengthrr›rCz%s://%s:%s "%s %s %s" %s %s)(rsr™Ú start_connectr*Úresolve_default_timeoutrƒrr”rr r£ÚOSErrorrr r'rrirgÚhas_connected_to_proxyrr6Úrequestr rœÚ
EPROTOTYPEÚ
ECONNRESETÚ read_timeoutÚ    is_closedrÚ getresponserlÚ _connectionÚ_poolrr‚r9r:Úversion_stringÚstatusÚlength_remaining)r>r…Úmethodr¡r¦rzrlrr§Ú response_connr¨r©rªÚ timeout_objÚeÚnew_er²Úresponses                  r?Ú _make_requestz HTTPConnectionPool._make_requestys}€ð\     ×Ò˜QÑÕà×'Ñ'¨Ó0ˆ Ø×!Ñ!Ô#Ü×6Ñ6°{×7RÑ7RÓSˆŒ ð    ð Ø×#Ñ# DÕ)ð8    Ø L‰LØØØØØØ /Ø-Ø'=ð ô     ð2#×/Ñ/ˆ à~Š~ð ˜qÒ Ü&ؘ#Ð!?À ¸~ÈQÐOóðð(ˆDŒLð    Ø×'Ñ'Ó)ˆHð #ˆÔØ,ˆÔ؈Œä     ‰    Ø )Ø K‰KØ I‰IØ I‰IØ Ø Ø × #Ñ #Ø O‰OØ × %Ñ %ô
    
ðˆøôw"¤<Ð0ò Ø×#Ñ#¨¨sÀ$Ç,Á,Ð#ÔOØûð ûô Ü Ü Ü Ü Ü ð 
ò    ð !ˆEܘ!œlÔ,<Ð=Ô>Ü  › ôØœÔ!3´\Ä8ÐLôá˜DŸJšJ¨t×/JÒ/JÜ)¨%°·±×1BÑ1BÓCØˆKûð#    ûôHò    Ú Üò    ð
w‰wœ%×*Ñ*Ò*¨q¯w©w¼%×:JÑ:JÒ/JØÿùð     ûô4œgÐ&ò    Ø × Ñ  A¨3¸lÐ Ô KØ ûð    úsgÁD?Á0HÂ?I<Ä?E2ÅE-Å-E2Å2E5Å5#HÆA?HÈHÈ    I9È+I9È3;I4É4I9É<J%Ê J Ê J%có\—|j€y|jdc}|_t|«yrS)rmrx)r>Úold_pools  r?rMzHTTPConnectionPool.close.s-€ð 9‰9Ð Ø à"Ÿi™i¨Ðˆ$”)ô      Õ)rAcóV—|jd«ryt|«^}}}}}|xsd}| t||¬«}|jr|st    j
|«}n&|js|t    j
|«k(rd}|||f|j |j|jfk(S)zj
        Check if the given ``url`` is a member of the same host as this
        connection pool.
        ú/TrcNr8)Ú
startswithr.r-r:rrˆr6r9)r>r¡r6r~r9r:s      r?Ú is_same_hostzHTTPConnectionPool.is_same_host:s£€ð
>‰>˜#Ô Øô%.¨c£NÐ!ˆ4˜ ØÒ!˜6ˆØ Ð Ü" 4°Ô7ˆDð 9Š9™TÜ!×%Ñ% fÓ-‰DØ—’˜t¤~×'9Ñ'9¸&Ó'AÒA؈Dà˜˜dÐ#¨¯ © °T·Y±YÀÇ    Á    Ð'JÑJÐJrAc óâ
—t|«}|j}|€ |j}t|t«s"t    j
|||j ¬«}|
€| }
|r|j|«s t|||«‚|jd«rtt|««}nt|j«}d}|
}t|j|j|«}|s+|j!«}|j#|j$«d}d}t'|| «}     |j)|«}|j+|    ¬«}|j,|_|j |r|j0r    |j3|«|
s|nd}|j<|||f|||| ||| |dœ|¤Ž}d}|s|r|j[«d}d}|r|j]|«    |s9t^jad |||«|jb|||||||f||    |
| | | |d œ|¤ŽS|xrje«}|r›jfdk(rd}d}ti|«jk«}    |jS||||¬«}|jq«|js|«t^jud||«|jb||||f|||||    |
| | | |dœ
|¤ŽStwjjyd««}|j{||jf|«rn    |jS||||¬«}|jq«|jY|«t^jud|«|jb||||f|||||    |
| | | |dœ
|¤ŽS|S#t4t6t8f$r8}|j;||jj|j.¬«‚d}~wwxYw#t>$rd}d}‚t@tBt6tDt4tFtHtJf$rï}d}|}t|t4tHf«r tG|«}t|t6tLt@tFtBf«r;|r9|jr-|jNs!tQ||jj«}n"t|t6tBf«r tEd    |«}|jS||||tUjV«d
¬ «}|jY«|}Yd}~Œ<d}~wwxYw#|s|r|j[«d}d}|r|j]|«wwxYw#tl$r"|jnr|jq«‚|cYSwxYw#tl$r"|j|r|jq«‚|cYSwxYw)a…
        Get a connection from the pool and perform an HTTP request. This is the
        lowest level call for making a request, so you'll need to specify all
        the raw details.
 
        .. note::
 
           More commonly, it's appropriate to use a convenience method
           such as :meth:`request`.
 
        .. note::
 
           `release_conn` will only behave as expected if
           `preload_content=False` because we want to make
           `preload_content=False` the default behaviour someday soon without
           breaking backwards compatibility.
 
        :param method:
            HTTP request method (such as GET, POST, PUT, etc.)
 
        :param url:
            The URL to perform the request on.
 
        :param body:
            Data to send in the request body, either :class:`str`, :class:`bytes`,
            an iterable of :class:`str`/:class:`bytes`, or a file-like object.
 
        :param headers:
            Dictionary of custom headers to send, such as User-Agent,
            If-None-Match, etc. If None, pool headers are used. If provided,
            these headers completely replace any pool-specific headers.
 
        :param retries:
            Configure the number of retries to allow before raising a
            :class:`~urllib3.exceptions.MaxRetryError` exception.
 
            If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
            :class:`~urllib3.util.retry.Retry` object for fine-grained control
            over different types of retries.
            Pass an integer number to retry connection errors that many times,
            but no other types of errors. Pass zero to never retry.
 
            If ``False``, then retries are disabled and any exception is raised
            immediately. Also, instead of raising a MaxRetryError on redirects,
            the redirect response will be returned.
 
        :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
 
        :param redirect:
            If True, automatically handle redirects (status codes 301, 302,
            303, 307, 308). Each redirect counts as a retry. Disabling retries
            will disable redirect, too.
 
        :param assert_same_host:
            If ``True``, will make sure that the host of the pool requests is
            consistent else will raise HostChangedError. When ``False``, you can
            use the pool on an HTTP proxy and request foreign hosts.
 
        :param timeout:
            If specified, overrides the default timeout for this one
            request. It may be a float (in seconds) or an instance of
            :class:`urllib3.util.Timeout`.
 
        :param pool_timeout:
            If set and the pool is set to block=True, then this method will
            block for ``pool_timeout`` seconds and raise EmptyPoolError if no
            connection is available within the time period.
 
        :param bool preload_content:
            If True, the response's body will be preloaded into memory.
 
        :param bool decode_content:
            If True, will attempt to decode the body based on the
            'content-encoding' header.
 
        :param release_conn:
            If False, then the urlopen call will not release the connection
            back into the pool once a response is received (but will release if
            you read the entire contents of the response such as when
            `preload_content=True`). This is useful if you're not preloading
            the response's content immediately. You will need to call
            ``r.release_conn()`` on the response ``r`` to return the connection
            back into the pool. If None, it takes the value of ``preload_content``
            which defaults to ``True``.
 
        :param bool chunked:
            If True, urllib3 will send the body using chunked transfer
            encoding. Otherwise, urllib3 will send the body using the standard
            content-length form. Defaults to False.
 
        :param int body_pos:
            Position to seek to in file-like body in the event of a retry or
            redirect. Typically this won't need to be set because urllib3 will
            auto-populate the value when needed.
        N)ÚredirectÚdefaultrÄFrr¥)rr¦rzr§rlr»r¨r©TzConnection aborted.é)Úerrorr¶Ú _stacktracez1Retrying (%r) after connection broken by '%r': %s)rÚ pool_timeoutÚ release_connr§Úbody_posr¨r©i/ÚGET)r¿r¶zRedirecting %s -> %s)
rlrÈÚassert_same_hostrrÍrÎr§rÏr¨r©z Retry-Afterz    Retry: %s)?r.r6rzrir&Úfrom_intrlrÆrrÅr/r,r¡r#rgrhÚcopyÚupdateror%r™r‹rƒrr³r–r r­rr£rÀrr rrrr'rrr®rÚ    incrementÚsysÚexc_infoÚsleeprMr‘rrÚurlopenÚget_redirect_locationr¸r    Ú_prepare_for_method_changerÚraise_on_redirectÚ
drain_connÚsleep_for_retryr‚ÚboolrˆÚis_retryÚraise_on_status)r>rºr¡r¦rzrlrÈrÑrrÍrÎr§rÏr¨r©Ú response_kwÚ
parsed_urlÚdestination_schemer…Úrelease_this_connÚhttp_tunnel_requiredr Ú
clean_exitr¼r½r»r¿r¾Úredirect_locationÚhas_retry_afters                              r?rÙzHTTPConnectionPool.urlopenPsá€ôb˜s“^ˆ
Ø'×.Ñ.Ðà ˆ?Ø—l‘lˆGä˜'¤5Ô)Ü—n‘n W°xÈÏÉÔVˆGà Ð Ø*ˆLñ  D×$5Ñ$5°cÔ$:Ü" 4¨¨gÓ6Ð 6ð >‰>˜#Ô Üœ¨Ó,Ó-‰C䘟™Ó(ˆCàˆð)Ðä>Ø J‰J˜×)Ñ)Ð+=ó 
Ðñ$Ø—l‘l“nˆGØ N‰N˜4×-Ñ-Ô .ðˆðˆ
ô% T¨8Ó4ˆðe    %à×+Ñ+¨GÓ4ˆKØ—>‘>¨,>Ó7ˆDà&×6Ñ6ˆDŒLðz‰zÐ%Ñ*>À4Ç>Â>ðØ×'Ñ'¨Ô-ñ)5™D¸$ˆMð*t×)Ñ)ØØØð ð$ØØØØØ+Ø /Ø-ñ ðñ ˆHð ˆJñ^ñ
Ø—J‘J”LؐDØ$(Ð!á ð—‘˜tÕ$áä K‰KØCÀWÈcÐSVô ð 4—<‘<ØØØØØØØ ðð Ø)Ø)ØØ!Ø /Ø-ñðñð ð&%ÒI¨×)GÑ)GÓ)IÐ٠؏‰ #Ò%ààÜ(¨Ó1×LÑLÓNð  Ø!×+Ñ+¨F°CÀ(ÐRVÐ+ÓWð × Ñ Ô !Ø × #Ñ # HÔ -Ü I‰IÐ,¨cÐ3DÔ Eؐ4—<‘<ØØ!ØØð    ð
 Ø!Ø!1ØØ)Ø)ØØ!Ø /Ø-ñðñð ô&˜x×/Ñ/×3Ñ3°MÓBÓCˆØ × Ñ ˜F H§O¡O°_Ô Eð  Ø!×+Ñ+¨F°CÀ(ÐRVÐ+ÓWð × Ñ Ô !Ø M‰M˜(Ô #Ü I‰Ik 3Ô 'ؐ4—<‘<ØØØØð    ð
 Ø!Ø!1ØØ)Ø)ØØ!Ø /Ø-ñðñð ð$ˆøôu%¤g¬}Ð=òØ×'Ñ'Ø 4§:¡:§>¡>ÀÇÁð(ôðûð    ûô>ò    àˆJØ %Ð Ø ô Ü Ü Ü Ü Ü Ü Ü ð    
ò$    ðˆJØ ˆEܘ!œlÔ,<Ð=Ô>Ü  › ÜØäÜ&Ü ÜÜ!ð ô    ñ˜DŸJšJ¨t×/JÒ/JÜ)¨%°·±×1BÑ1BÓC‘ܘE¤G¬]Ð#;Ô<Ü%Ð&;¸UÓCà×'Ñ'ؘ 5°Ä#Ç,Á,Ã.ÐQRÑBSð(óˆGð M‰MŒOðŽCûðI$    ûñNñ
Ø—J‘J”LؐDØ$(Ð!á ð—‘˜tÕ$ð    !ûôR!ò  Ø×,Ò,Ø×'Ñ'Ô)ØØ’ð      ûô@!ò  Ø×*Ò*Ø×'Ñ'Ô)ØØ’ð      ústÄAN8Å)M)Å:&N8É
TË:UÍ)N5Í=3N0Î0N5Î5N8Î8:S!Ï2C$SÓS$ÓS!Ó!S$Ó$.TÔ(UÔ?UÕ(U.Õ-U.)r9rUr:rVrú_TYPE_TIMEOUT | NoneryÚintrnrßrzútyping.Mapping[str, str] | NonerlúRetry | bool | int | Noner{ú
Url | Noner|rìr}zProxyConfig | Nonertú
typing.Any)rWr1rI)rz float | NonerWr1)r…úBaseHTTPConnection | NonerWrX©r…r1rWrX)rÚ _TYPE_TIMEOUTrWr*)r z&BaseSSLError | OSError | SocketTimeoutr¡rUr¢rêrWrX)r…r1rºrUr¡rUr¦ú_TYPE_BODY | Nonerzrìrlz Retry | Nonerròr§rßr»rðr¨rßr©rßrªrßrWr!rY)r¡rUrWrß) rºrUr¡rUr¦rórzrìrlrírÈrßrÑrßrròrÍrVrÎz bool | Noner§rßrÏz_TYPE_BODY_POSITION | Noner¨rßr©rßrârïrWr!)rErZr[r\r6rrdr]r(r@r†r‹r‘r”r–r™r£rÀrMrÆrÙrJrAr?rbrbxsŠ…ñ1ðf€FØJX€MÐGÓXð
 Ø(8ØØØ37Ø-1Ø!Ø:>Ø,0ð;>àð;>ðð;>ð&ð    ;>ð
ð ;>ð ð ;>ð1ð;>ð+ð;>ðð;>ð8ð;>ð*ð;>ðó;>ózô($(óL)óV ó
 ó
/ðà 3ðððð,ð    ð
 
ó ð0#'Ø37Ø $Ø!1ØØ37Ø $Ø#Ø'+ðsà ðsððsðð    sð
 ð sð 1ð sððsððsððsð1ðsððsððsð!%ðsð
ósój
*óKð4#'Ø37Ø-1ØØ!%Ø!1Ø#'Ø$(ØØ/3Ø $Ø#ðpàðpððpð ð    pð
1ð pð +ð pððpððpððpð!ðpð"ðpððpð-ðpððpððpð "ð!pð"
ô#prArbcó҇—eZdZUdZdZeZded<dedddddddddddddddddf                                                                                                                                                                            d ˆfd„ Z    d d    „Z
dd
„Z dˆfd „ Z ˆxZ S)ÚHTTPSConnectionPoola
    Same as :class:`.HTTPConnectionPool`, but HTTPS.
 
    :class:`.HTTPSConnection` uses one of ``assert_fingerprint``,
    ``assert_hostname`` and ``host`` in this order to verify connections.
    If ``assert_hostname`` is False, no verification is done.
 
    The ``key_file``, ``cert_file``, ``cert_reqs``, ``ca_certs``,
    ``ca_cert_dir``, ``ssl_version``, ``key_password`` are only used if :mod:`ssl`
    is available and are fed into :meth:`urllib3.util.ssl_wrap_socket` to upgrade
    the connection socket into an SSL socket.
    Úhttpsztype[BaseHTTPSConnection]rdNrFc óЕ—t‰||||||||||    f    i|¤Ž|
|_| |_| |_| |_||_||_||_||_    ||_
||_ ||_ yrI) Úsuperr@Úkey_fileÚ    cert_fileÚ    cert_reqsÚ key_passwordÚca_certsÚ ca_cert_dirÚ ssl_versionÚssl_minimum_versionÚssl_maximum_versionÚassert_hostnameÚassert_fingerprint)r>r9r:rryrnrzrlr{r|rùrúrûrürýrÿrrrrrþrtÚ    __class__s                      €r?r@zHTTPSConnectionPool.__init__Ôsø€ô0    ‰ÑØ Ø Ø Ø Ø Ø Ø Ø Ø ñ     
ðò     
ð!ˆŒ Ø"ˆŒØ"ˆŒØ(ˆÔØ ˆŒ Ø&ˆÔØ&ˆÔØ#6ˆÔ Ø#6ˆÔ Ø.ˆÔØ"4ˆÕrAcóޗ|jr|jjdk(rd}nd}|j||j|j|j
¬«|j «y)z5Establishes a tunnel connection through HTTP CONNECT.rörc)r6r9r:rzN)rgr6Ú
set_tunnelr=r:roÚconnect)r>r…Ú tunnel_schemes   r?r–z"HTTPSConnectionPool._prepare_proxys\€à :Š:˜$Ÿ*™*×+Ñ+¨wÒ6Ø#‰Mà"ˆMà ‰Ø Ø×"Ñ"Ø—‘Ø×&Ñ&ð        ô    
ð       ‰ rAcó—|xjdz c_tjd|j|j|jxsd«|j
r|j
t ur td«‚|j}|j}|jB|jj,|jj}|jj}|j
d|||jj|j|j|j|j|j|j |j"|j$|j&|j(|j*dœ|j,¤ŽS)zL
        Return a fresh :class:`urllib3.connection.HTTPConnection`.
        rz)Starting new HTTPS connection (%d): %s:%sÚ443zCCan't connect to HTTPS URL because the SSL module is not available.)r9r:rrúrùrürûrýrþrrrÿrrrJ)rrrr‚r9r:rdr Ú ImportErrorrgrrƒrúrùrürûrýrþrrrÿrrrt)r>Ú actual_hostÚ actual_ports   r?r†zHTTPSConnectionPool._new_connsC€ð     ×Ò Ñ!ÕÜ     ‰    Ø 7Ø ×  Ñ  Ø I‰IØ I‰IÒ ˜ô        
ð×!Ò! T×%7Ñ%7¼?Ñ%JÜØUóð ð Ÿ9™9ˆ Ø—i‘iˆ Ø :‰:Ð ! d§j¡j§o¡oÐ&AØŸ*™*Ÿ/™/ˆKØŸ*™*Ÿ/™/ˆKà!ˆt×!Ñ!ð
ØØØ—L‘L×0Ñ0Ø—n‘nØ—]‘]Ø×*Ñ*Ø—n‘nØ—]‘]Ø×(Ñ(Ø ×0Ñ0Ø#×6Ñ6Ø×(Ñ(Ø $× 8Ñ 8Ø $× 8Ñ 8ñ
ðl‰lñ
ð    
rAcóà•—t‰||«|jr|j«|js6|j
s)t jd|j›dt«yyy)r“z0Unverified HTTPS request is being made to host 'z†'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warningsN)
rør”r³rÚ is_verifiedÚproxy_is_verifiedÚwarningsÚwarnr9r)r>r…rs  €r?r”z"HTTPSConnectionPool._validate_conn=sfø€ô    ‰Ñ˜tÔ$ð >Š>Ø L‰LŒNð×Ò¨×(>Ò(>Ü M‰MàFÀtÇyÁyÀkðR$ð$ô
'õ ð)?ÐrA),r9rUr:rVrrêryrërnrßrzrìrlrír{rîr|rìrùr5rúr5rûúint | str | Nonerür5rýr5rÿrrússl.TLSVersion | Nonerrrz"str | typing.Literal[False] | Nonerr5rþr5rtrïrWrX)r…rrWrX)rWr2rñ)rErZr[r\r6rrdr]r(r@r–r†r”Ú __classcell__)rs@r?rõrõÃsJø…ñ ð€FØ/>€MÐ,Ó>ð
 Ø(8ØØØ37Ø-1Ø!Ø:>Ø#Ø $Ø&*Ø#'Ø#Ø(,Ø59Ø59Ø>BØ)-Ø"&ð+/5àð/5ðð/5ð&ð    /5ð
ð /5ð ð /5ð1ð/5ð+ð/5ðð/5ð8ð/5ðð/5ðð/5ð$ð/5ð!ð/5ðð/5ð &ð!/5ð"3ð#/5ð$3ð%/5ð&<ð'/5ð('ð)/5ð* ð+/5ð,ð-/5ð.
õ//5ób ó'
÷RñrArõc ó¤—t|«^}}}}}|xsd}|xstj|d«}|dk(rt|fd|i|¤ŽSt    |fd|i|¤ŽS)a€
    Given a url, return an :class:`.ConnectionPool` instance of its host.
 
    This is a shortcut for not having to parse out the scheme, host, and port
    of the url before creating an :class:`.ConnectionPool` instance.
 
    :param url:
        Absolute URL string that must include the scheme. Port is optional.
 
    :param \**kw:
        Passes additional parameters to the constructor of the appropriate
        :class:`.ConnectionPool`. Useful for specifying things like
        timeout, maxsize, headers, etc.
 
    Example::
 
        >>> conn = connection_from_url('http://google.com/')
        >>> r = conn.request('GET', '/')
    rcéPrör:)r.rrˆrõrb)r¡Úkwr6r~r9r:s      r?Úconnection_from_urlrTsk€ô(!*¨#£Ð€FˆAˆtT˜AØ Ò v€FØ Ò 1”>×%Ñ% f¨bÓ1€DØ ÒÜ" 4Ñ9¨dÐ9°bÑ9Ð9ä! $Ñ8¨TÐ8°RÑ8Ð8rAcó—yrIrJ©r9r6s  r?r-r-qs€Ø=@rAcó—yrIrJrs  r?r-r-us€Ø;>rAcóp—t||«}|r'|jd«r|jd«r|dd}|S)z?
    Normalize hosts for comparisons and use with sockets.
    ú[ú]réÿÿÿÿ)r;rÅÚendswithrs  r?r-r-ys;€ô
˜$ Ó '€Dñ —‘ Ô$¨¯©°sÔ);ؐAbˆzˆØ €KrAcóp—t|j|j|j|¬«jS)zZReturns the URL from a given connection pool. This is mainly used for testing and logging.)r6r9r:Úpath)r+r6r9r:r¡)rmr#s  r?Ú_url_from_poolr$‹s'€ô d—k‘k¨¯    ©    ¸¿    ¹    ÈÔ M× QÑ QÐQrAc󂗠       |jd¬«}|r|j«Œ%#tj$rYywxYw)z2Drains a queue of connections and closes each one.FrN)rˆrMr^rŠ)rmr…s  r?rxrx’sC€ð ØØ—8‘8 %8Ó(ˆDÙØ—
‘
” ðøô ;‰;ò Ù ð ús ‚&(¨>½>)r¡rUrrïrWrb)r9rXr6r5rWrX)r9rUr6r5rWrU)r9r5r6r5rWr5rI)rmz(HTTPConnectionPool | HTTPSConnectionPoolr#r5rWrU)rmzqueue.LifoQueue[typing.Any]rWrX)[Ú
__future__rrœÚloggingr^rÖÚtypingrrvÚsocketrrÚtypesrÚ_base_connectionrÚ _collectionsr    Ú_request_methodsr
Ú
connectionr r r rrrrrrÚ
exceptionsrrrrrrrrrrrrr r¿r!Úutil.connectionr"Ú
util.proxyr#Ú util.requestr$r%Ú
util.retryr&Úutil.ssl_match_hostnamer'Ú util.timeoutr(r)r*Úutil.urlr+r,r-r;r.Ú    util.utilr/Ú TYPE_CHECKINGÚsslÚtyping_extensionsr0r1r2Ú    getLoggerrErÚUnionÚfloatròr4ÚEAGAINÚ EWOULDBLOCKrŸrbrõrÚoverloadr$rxrJrAr?ú<module>rAsWðÝ"ã ÛÛ Û
Û ÛÛÝ+Ýå(Ý(Ý,÷    ÷    ó    õ9÷÷÷õõ'Ý2Ý7ß@ÝÝ5ßBÑBß)Ý7ÝÝà    ×ÒÛå&çIà€g×јÓ!€à— ‘ ˜W e¨]¸DÐ@ÑA€ ÷. ñ. ðd—L‘L %×"3Ñ"3Ð4ÐôH ˜¨ôH ôVNÐ,ôNób9ð:‡Ú@óØ@ð‡Ú>óØ>óð&HLðRØ
2ðRØ:DðRàóRô rA