Ë
    ½©Ñht  ã                   ó*   — d Z ddlmZ  G d„ de«      Zy)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 ]&  }|j                  «       dk(  sŒ|j                   |   } n | j                  j                  }|r||d<   nd|v r|j	                  dd «       t        t        |   |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         €úh/var/www/html/eduruby.in/venv/lib/python3.12/site-packages/requests_toolbelt/adapters/host_header_ssl.pyr   zHostHeaderSSLAdapter.send   s   ø€ àˆØ—o‘oò 	ˆFØ|‰|‹~ Ó'Ø%Ÿo™o¨fÑ5Ùð	ð
 "&×!1Ñ!1×!DÑ!DÐáØ8CÐ"Ð#4Ò5ØÐ"8Ñ8à"×&Ñ&Ð'8¸$Ô?äÔ)¨4Ñ5°gÑHÀÑHÐHó    )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__classcell__)r   s   @r   r   r      s   ø„ ñ÷Ið Ir   r   N)r   Úrequests.adaptersr   r   © r   r   ú<module>r       s   ðñõ *ôI˜;õ Ir   