§
    .Pht  ã                   ó2   — d Z ddlmZ  G d„ de¦  «        ZdS )zš
requests_toolbelt.adapters.host_header_ssl
==========================================

This file contains an implementation of the HostHeaderSSLAdapter.
é    )ÚHTTPAdapterc                   ó"   ‡ — e Zd ZdZˆ fd„Zˆ xZS )ÚHostHeaderSSLAdaptera‘  
    A HTTPS Adapter for Python Requests that sets the hostname for certificate
    verification based on the Host header.

    This allows requesting the IP address directly via HTTPS without getting
    a "hostname doesn't match" exception.

    Example usage:

        >>> s.mount('https://', HostHeaderSSLAdapter())
        >>> s.get("https://93.184.216.34", headers={"Host": "example.org"})

    c                 ó  •— d }|j         D ])}|                     ¦   «         dk    r|j         |         } nŒ*| j        j        }|r||d<   nd|v r|                     dd ¦  «          t          t          | ¦  «        j        |fi |¤ŽS )NÚhostÚassert_hostname)ÚheadersÚlowerÚpoolmanagerÚconnection_pool_kwÚpopÚsuperr   Úsend)ÚselfÚrequestÚkwargsÚhost_headerÚheaderÚconnection_pool_kwargsÚ	__class__s         €új/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/requests_toolbelt/adapters/host_header_ssl.pyr   zHostHeaderSSLAdapter.send   s±   ø€ àˆØ”oð 	ð 	ˆFØ|Š|‰~Œ~ Ò'Ð'Ø%œo¨fÔ5Øð (ð "&Ô!1Ô!DÐàð 	@Ø8CÐ"Ð#4Ñ5Ð5ØÐ"8Ð8Ð8à"×&Ò&Ð'8¸$Ñ?Ô?Ð?à5uÕ)¨4Ñ0Ô0Ô5°gÐHÐHÀÐHÐHÐHó    )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__classcell__)r   s   @r   r   r      sK   ø€ € € € € ðð ðIð Ið Ið Ið Ið Ið Ið Ið Ir   r   N)r   Úrequests.adaptersr   r   © r   r   ú<module>r       sa   ððð ð *Ð )Ð )Ð )Ð )Ð )ðIð Ið Ið Ið I˜;ñ Iô Ið Ið Ið Ir   