관리-도구
편집 파일: __init__.cpython-311.pyc
� �܋fc � �J � d Z ddlZddlZddlmZ ddlmZ n # e$ r dZY nw xY w ddl mZ n # e$ r dZ Y nw xY wd� Zd� Z eej e e� � n8# e ef$ r. ej d� ej e e� � e� � Y nw xY w ddlZn # e$ r dZY nw xY w eed d � � s&ddlmZ ej � � ddlmZ ee� � n# e$ r Y nw xY wddlmZ ej d e� � ddlZddlmZ ddlmZmZ ddlm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(mZ ddl)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1 ddlm2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z; ddl<m=Z=m>Z>m?Z? ddl@mAZAmBZB ddlCmDZD ejE eF� � �G e� � � � ej de4d�� � dS )a� Requests HTTP Library ~~~~~~~~~~~~~~~~~~~~~ Requests is an HTTP library, written in Python, for human beings. Basic GET usage: >>> import requests >>> r = requests.get('https://www.python.org') >>> r.status_code 200 >>> b'Python is a programming language' in r.content True ... or POST: >>> payload = dict(key1='value1', key2='value2') >>> r = requests.post('https://httpbin.org/post', data=payload) >>> print(r.text) { ... "form": { "key1": "value1", "key2": "value2" }, ... } The other HTTP methods are supported - see `requests.api`. Full documentation is at <https://requests.readthedocs.io>. :copyright: (c) 2017 by Kenneth Reitz. :license: Apache 2.0, see LICENSE for more details. � N� )�RequestsDependencyWarning)�__version__c �� � | � d� � } | dgk sJ �t | � � dk r| � d� � | \ }}}t |� � t |� � t |� � }}}|dk sJ �|dk r|dk sJ �|r_ |j d� � d d� \ }}}t |� � t |� � t |� � }}}d|||fcxk rd k sn J �d S |r_ |j d� � d d� \ }}}t |� � t |� � t |� � }}}d |||fcxk rdk sn J �d S t d� � �) N�.�dev� �0r � � )r r r )� r r )r r r )� r r z7You need either charset_normalizer or chardet installed)�split�len�append�int� Exception)�urllib3_version�chardet_version�charset_normalizer_version�major�minor�patchs �H/opt/cloudlinux/venv/lib64/python3.11/site-packages/requests/__init__.py�check_compatibilityr : s� � �%�+�+�C�0�0�O��u�g�%�%�%�%� �?���q� � ����s�#�#�#� *��E�5�%��e�*�*�c�%�j�j�#�e�*�*�%�5�E��A�:�:�:�:���z�z���{�{�{�{� � S�3�o�3�C�8�8��!��<���u�e�!�%�j�j�#�e�*�*�c�%�j�j�e�u���U�E�5�1�=�=�=�=�I�=�=�=�=�=�=�=�=� #� S�>�8�>�s�C�C�B�Q�B�G���u�e�!�%�j�j�#�e�*�*�c�%�j�j�e�u���U�E�5�1�=�=�=�=�I�=�=�=�=�=�=�=�=��Q�R�R�R� c � � t t t | j d� � � � � � } n# t $ r Y d S w xY w| g d�k r1d� | � � }t j |t � � d S d S )Nr )r r r z4Old version of cryptography ({}) may cause slowdown.) �list�mapr r � ValueError�format�warnings�warnr )�cryptography_version�warnings r �_check_cryptographyr&