§
    `Ò³gC  ã            
      ó  — d Z ddlmZ ddlZddlZddlZddlZddlmZ ddlm	Z	 ddl
mZ ddlmZ dd	lmZ dd
lmZmZmZ ddlmZmZ ddlmZmZmZ ddlmZmZ ddlmZ ddl m!Z! ddl"m#Z# 	 ddl$Z$e$j%         &                    d¦  «        s  ej'        de$j%        ›d�e	j(        ¦  «         n+e$j)        dk     r e*de$j%        ›d�¦  «        ‚n# e*$ r Y nw xY wdZ+dZ,eZdZ- ej.        e/¦  «         0                     e¦   «         ¦  «         ej1        fd?d„Z2[ ej3        de	j4        d¬ ¦  «          ej3        d!e	j5        d¬ ¦  «         e	j6        fd@d%„Z7 e¦   «         Z8dddddddd&dd'œ	dAd<„Z9ej:        d=k    rdd>l;m<Z<  e<¦   «          dS dS )Bze
Python HTTP library with thread-safe connection pooling, file post support, user friendly, and more
é    )ÚannotationsN)ÚNullHandleré   )Ú
exceptions)Ú
_TYPE_BODY)ÚHTTPHeaderDict)Ú__version__)ÚHTTPConnectionPoolÚHTTPSConnectionPoolÚconnection_from_url)Ú_TYPE_FIELDSÚencode_multipart_formdata)ÚPoolManagerÚProxyManagerÚproxy_from_url)ÚBaseHTTPResponseÚHTTPResponse)Úmake_headers)ÚRetry)ÚTimeoutzOpenSSL zUurllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with z5. See: https://github.com/urllib3/urllib3/issues/3020)r   r   r   z5. See: https://github.com/urllib3/urllib3/issues/2168z(Andrey Petrov (andrey.petrov@shazow.net)ÚMIT)r
   r   r   r   r   r   r   r   Úadd_stderr_loggerr   Údisable_warningsr   r   r   Úrequestr   ÚlevelÚintÚreturnú$logging.StreamHandler[typing.TextIO]c                ó6  — t          j        t          ¦  «        }t          j        ¦   «         }|                     t          j        d¦  «        ¦  «         |                     |¦  «         |                     | ¦  «         |                     dt          ¦  «         |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)r   ÚloggerÚhandlers      úN/var/www/html/mpstechhub/venv/lib/python3.11/site-packages/urllib3/__init__.pyr   r   J   s‚   € õ Ô�xÑ(Ô(€FÝÔ#Ñ%Ô%€GØ×Ò�Ô*Ð+RÑSÔSÑTÔTÐTØ
×Ò�gÑÔÐØ
‡O‚O�EÑÔÐØ
‡L‚LÐ?ÅÑJÔJÐJØ€Nó    ÚalwaysT)ÚappendÚdefaultÚcategoryútype[Warning]ÚNonec                ó0   — t          j        d| ¦  «         dS )z<
    Helper for quickly disabling all urllib3 warnings.
    ÚignoreN)ÚwarningsÚsimplefilter)r0   s    r+   r   r   k   s   € õ Ô˜( HÑ-Ô-Ð-Ð-Ð-r,   é   ©	ÚbodyÚfieldsÚheadersÚpreload_contentÚdecode_contentÚredirectÚretriesÚtimeoutÚjsonÚmethodÚstrÚurlr9   ú_TYPE_BODY | Noner:   ú_TYPE_FIELDS | Noner;   útyping.Mapping[str, str] | Noner<   úbool | Noner=   r>   r?   úRetry | bool | int | Noner@   úTimeout | float | int | NonerA   útyping.Any | Noner   c       	        óL   — t                                | |||||||||	|
¬¦  «        S )a‡	  
    A convenience, top-level request method. It uses a module-global ``PoolManager`` instance.
    Therefore, its side effects could be shared across dependencies relying on it.
    To avoid side effects create a new ``PoolManager`` instance and use it instead.
    The method does not accept low-level ``**urlopen_kw`` keyword arguments.

    :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 fields:
        Data to encode and send in the request body.

    :param headers:
        Dictionary of custom headers to send, such as User-Agent,
        If-None-Match, etc.

    :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 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 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 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 json:
        Data to encode and send as JSON with UTF-encoded in the request body.
        The ``"Content-Type"`` header will be set to ``"application/json"``
        unless specified otherwise.
    r8   )Ú_DEFAULT_POOLr   )rB   rD   r9   r:   r;   r<   r=   r>   r?   r@   rA   s              r+   r   r   u   sC   € õX × Ò ØØØØØØ'Ø%ØØØØð !ñ ô ð r,   Ú
emscripten)Úinject_into_urllib3)r   r   r   r   )r0   r1   r   r2   )rB   rC   rD   rC   r9   rE   r:   rF   r;   rG   r<   rH   r=   rH   r>   rH   r?   rI   r@   rJ   rA   rK   r   r   )=Ú__doc__Ú
__future__r   r    ÚsysÚtypingr5   r   Ú r   Ú_base_connectionr   Ú_collectionsr   Ú_versionr	   Úconnectionpoolr
   r   r   Úfilepostr   r   Úpoolmanagerr   r   r   Úresponser   r   Úutil.requestr   Ú
util.retryr   Úutil.timeoutr   ÚsslÚOPENSSL_VERSIONÚ
startswithÚwarnÚNotOpenSSLWarningÚOPENSSL_VERSION_INFOÚImportErrorÚ
__author__Ú__license__Ú__all__r!   r"   r&   ÚDEBUGr   r6   ÚSecurityWarningÚInsecurePlatformWarningÚHTTPWarningr   rM   r   ÚplatformÚcontrib.emscriptenrO   © r,   r+   ú<module>rp      sh  ððð ð #Ð "Ð "Ð "Ð "Ð "ð €€€Ø 
€
€
€
Ø €€€Ø €€€Ø Ð Ð Ð Ð Ð à Ð Ð Ð Ð Ð Ø (Ð (Ð (Ð (Ð (Ð (Ø (Ð (Ð (Ð (Ð (Ð (Ø !Ð !Ð !Ð !Ð !Ð !Ø XÐ XÐ XÐ XÐ XÐ XÐ XÐ XÐ XÐ XØ =Ð =Ð =Ð =Ð =Ð =Ð =Ð =Ø BÐ BÐ BÐ BÐ BÐ BÐ BÐ BÐ BÐ BØ 4Ð 4Ð 4Ð 4Ð 4Ð 4Ð 4Ð 4Ø &Ð &Ð &Ð &Ð &Ð &Ø Ð Ð Ð Ð Ð Ø !Ð !Ð !Ð !Ð !Ð !ð

Ø€J€J€Jð Ô×)Ò)¨*Ñ5Ô5ð 
ØˆŒðBØ14Ô1DðBð Bð Bð Ô(ñ		
ô 	
ð 	
ð 	
ð 
Ô	! IÒ	-Ð	-ØˆkðBØ14Ô1DðBð Bð Bñ
ô 
ð 	
ð 
.øð ð 	ð 	ð 	Ø€Dð	øøøð" 8€
Ø€Ø€ð€ð& €Ô �(Ñ Ô × &Ò & { {¡}¤}Ñ 5Ô 5Ð 5ð ”ðð ð ð ð ð* ð €Ô �h 
Ô :À4Ð HÑ HÔ HÐ Hà €Ô �i Ô!CÈDÐ QÑ QÔ QÐ Qð 0:Ô/Eð .ð .ð .ð .ð .ð �‘”€ð #Ø"&Ø/3Ø#'Ø"&Ø Ø)-Ø,-Ø"ðXð Xð Xð Xð Xð Xðv „<�<ÒÐØ7Ð7Ð7Ð7Ð7Ð7àÐÑÔÐÐÐð  Ðs   Á.C ÃCÃC