3
”Re{
ã @ s4 d Z ddlmZ ddlZddlmZmZmZ ddlm Z ddl
mZ ddlm
Z
mZmZ dd lmZ dd
lmZ ddlmZ ddlmZ dd
lmZ ddlZddlmZ dZdZdZd&Zej e!ƒj"eƒ ƒ ej#fd d„Z$[ej%d!e j&d"d#� ej%d$e j'd"d#� ej%d$e j(d"d#� ej%d$e j)d"d#� e j*fd%d„Z+dS )'z8
urllib3 - Thread-safe connection pooling and re-using.
é )Úabsolute_importNé )ÚHTTPConnectionPoolÚHTTPSConnectionPoolÚconnection_from_url)Ú
exceptions)Úencode_multipart_formdata)ÚPoolManagerÚProxyManagerÚproxy_from_url)ÚHTTPResponse)Úmake_headers)Úget_host)ÚTimeout)ÚRetry)ÚNullHandlerz(Andrey Petrov (andrey.petrov@shazow.net)ÚMITz1.25.9r r r r
r r r Úadd_stderr_loggerr Údisable_warningsr r r
r c C sF t jtƒ}t jƒ }|jt jdƒƒ |j|ƒ |j| ƒ |jdtƒ |S )z†
Helper for quickly adding a StreamHandler to the logger. Useful for
debugging.
Returns the handler after adding it.
z%%(asctime)s %(levelname)s %(message)sz,Added a stderr logging handler to logger: %s) ÚloggingÚ getLoggerÚ__name__Ú
StreamHandlerÚsetFormatterÚ FormatterÚ
addHandlerÚsetLevelÚdebug)ÚlevelÚloggerÚhandler© r! ú‹/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/urllib3/__init__.pyr / s
ÚalwaysT)ÚappendÚdefaultc C s t jd| ƒ dS )z<
Helper for quickly disabling all urllib3 warnings.
ÚignoreN)ÚwarningsÚsimplefilter)Úcategoryr! r! r" r R s )r r r r
r r r r r r r r r
r ),Ú__doc__Ú
__future__r r' Úconnectionpoolr r r Ú r Úfilepostr Úpoolmanagerr r
r Úresponser Zutil.requestr
Zutil.urlr Zutil.timeoutr Z
util.retryr r r Ú
__author__Ú__license__Ú__version__Ú__all__r r r ÚDEBUGr r( ÚSecurityWarningÚSubjectAltNameWarningÚInsecurePlatformWarningÚSNIMissingWarningÚHTTPWarningr r! r! r! r" Ú