o
    Cji                     @   s   d Z ddlZddlZzddlZW n ey+   zddlZW n ey(   dZY nw Y nw ejdks6ejdkrAdejddfddZ	n
dejddfd	dZ	d
dgZ
dS )z
The _compat module is used for code which requires branching between different
Python environments. It is excluded from the code coverage checks.
    N)   
   )   r   r      contextreturnc                 C   s   t jj| _d S N)ssl
TLSVersionTLSv1_2minimum_versionr    r   d/var/www/html/Resume-Parser/resume-parser-inhouse/venv/lib/python3.10/site-packages/httpx/_compat.pyset_minimum_tls_version_1_2   s   r   c                 C   sD   |  j tjO  _ |  j tjO  _ |  j tjO  _ |  j tjO  _ d S r   )optionsr	   OP_NO_SSLv2OP_NO_SSLv3OP_NO_TLSv1OP_NO_TLSv1_1r   r   r   r   r       s   brotli)__doc__r	   sys
brotlicffir   ImportErrorversion_infoOPENSSL_VERSION_INFO
SSLContextr   __all__r   r   r   r   <module>   s"    	