z]c@@sdZddlmZddlZddlmZmZmZddlm Z ddl m Z ddl m Z mZmZdd lmZdd lmZdd lmZdd lmZdd lmZddlZddlmZdZdZdZd%Zej e!j"eej#d Z$[ej%d!e j&d"e'ej%d#e j(d"e'ej%d#e j)d"e'ej%d#e j*d"e'e j+d$Z,dS(&s8 urllib3 - Thread-safe connection pooling and re-using. i(tabsolute_importNi(tHTTPConnectionPooltHTTPSConnectionPooltconnection_from_url(t exceptions(tencode_multipart_formdata(t PoolManagert ProxyManagertproxy_from_url(t HTTPResponse(t make_headers(tget_host(tTimeout(tRetry(t NullHandlers(Andrey Petrov (andrey.petrov@shazow.net)tMITs1.25.3RRRRR R R tadd_stderr_loggerRtdisable_warningsRR R RcC@s_tjt}tj}|jtjd|j||j||jdt|S(s Helper for quickly adding a StreamHandler to the logger. Useful for debugging. Returns the handler after adding it. s%%(asctime)s %(levelname)s %(message)ss,Added a stderr logging handler to logger: %s( tloggingt getLoggert__name__t StreamHandlert setFormattert Formattert addHandlertsetLeveltdebug(tleveltloggerthandler((s1/tmp/pip-build-kBFYxq/urllib3/urllib3/__init__.pyR3s    talwaystappendtdefaultcC@stjd|dS(s< Helper for quickly disabling all urllib3 warnings. tignoreN(twarningst simplefilter(tcategory((s1/tmp/pip-build-kBFYxq/urllib3/urllib3/__init__.pyRWs(RRRRR R R RRRRR R R(-t__doc__t __future__RR"tconnectionpoolRRRtRtfilepostRt poolmanagerRRRtresponseR t util.requestR tutil.urlR t util.timeoutR t util.retryR RRt __author__t __license__t __version__t__all__RRRtDEBUGRR#tSecurityWarningtTruetSubjectAltNameWarningtInsecurePlatformWarningtSNIMissingWarningt HTTPWarningR(((s1/tmp/pip-build-kBFYxq/urllib3/urllib3/__init__.pytsN