R`i
d Z ddlmZ ddlZddlZddlmZ ddlmZ ddlm Z ddl
mZmZm
Z
dd lmZ dd
lmZmZmZ ddlmZ ddlmZ dd
lmZ ddlmZ ddlmZ ddlZ ej> de d dZ"dZ#e Z dZ$ ejJ e& jO e ejP fdZ)[ ejT dejV d ejT dejX d ejT dejZ d ejT dej\ d ej^ fdZ0y# e!$ r Y w xY w)ze
Python HTTP library with thread-safe connection pooling, file post support, user friendly, and more
)absolute_importN)NullHandler )
exceptions)__version__)HTTPConnectionPoolHTTPSConnectionPoolconnection_from_url)encode_multipart_formdata)PoolManagerProxyManagerproxy_from_url)HTTPResponse)make_headers)Retry)Timeout)get_hostz'urllib3[secure]' extra is deprecated and will be removed in a future release of urllib3 2.x. Read more in this issue: https://github.com/urllib3/urllib3/issues/2680 )category
stacklevelz(Andrey Petrov (andrey.petrov@shazow.net)MIT)r r r r
r r r add_stderr_loggerr
disable_warningsr r r r c t j t }t j }|j t j
d |j
| |j | |j dt |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__
StreamHandlersetFormatter Formatter
addHandlersetLeveldebug)levelloggerhandlers /builddir/build/BUILDROOT/alt-python312-pip-23.3.1-3.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_vendor/urllib3/__init__.pyr r ? sj
x
(F##%G**+RST
g
OOE
LL?JN alwaysT)appenddefaultc 0 t j d| y)z<
Helper for quickly disabling all urllib3 warnings.
ignoreN)warningssimplefilter)r s r' r r b s
(H-r( )1__doc__
__future__r r r. r r _versionr connectionpoolr r r
filepostr poolmanagerr r
r responser util.requestr
util.retryr util.timeoutr util.urlr urllib3_secure_extrawarnDeprecationWarningImportError
__author____license____all__r r r! DEBUGr r/ SecurityWarningSubjectAltNameWarningInsecurePlatformWarningSNIMissingWarningHTTPWarningr r( r'