ó
    úÞ jt  ã                   ó*   • S r SSKJr   " S S\5      rg)zš
requests_toolbelt.adapters.host_header_ssl
==========================================

This file contains an implementation of the HostHeaderSSLAdapter.
é    )ÚHTTPAdapterc                   ó,   ^ • \ rS rSrSrU 4S jrSrU =r$ )ÚHostHeaderSSLAdapteré   aq  
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                 ó  >• S nUR                    H(  nUR                  5       S:X  d  M  UR                   U   n  O   U R                  R                  nU(       a  X5S'   OSU;   a  UR	                  SS 5        [
        [        U ]  " U40 UD6$ )NÚhostÚassert_hostname)ÚheadersÚlowerÚpoolmanagerÚconnection_pool_kwÚpopÚsuperr   Úsend)ÚselfÚrequestÚkwargsÚhost_headerÚheaderÚconnection_pool_kwargsÚ	__class__s         €Úd/var/www/html/gaurav/venv/lib/python3.13/site-packages/requests_toolbelt/adapters/host_header_ssl.pyr   Ú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__Ú__firstlineno__Ú__doc__r   Ú__static_attributes__Ú__classcell__)r   s   @r   r   r      s   ø† ñ÷Ió Ir   r   N)r    Úrequests.adaptersr   r   r   r   r   Ú<module>r$      s   ðñõ *ôI˜;õ Ir   