관리-도구
편집 파일: requests.cpython-311.pyc
� �܋f � �h � d Z ddlmZ ddlmZ ddlZdZn # e$ r dZY nw xY w G d� de� � ZdS ) z� raven.transport.requests ~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. � )�absolute_import)� HTTPTransportNTFc �, � � e Zd ZddgZ� fd�Zd� Z� xZS )�RequestsHTTPTransportz requests+httpzrequests+httpsc �t �� t st d� � � t t | � � j |i |�� d S )Nz(RequestsHTTPTransport requires requests.)�has_requests�ImportError�superr �__init__)�self�args�kwargs� __class__s ��O/opt/cloudlinux/venv/lib64/python3.11/site-packages/raven/transport/requests.pyr zRequestsHTTPTransport.__init__ sD �� �� J��H�I�I�I�3��#�T�*�*�3�T�D�V�D�D�D�D�D� c �r � | j r| j | _ t j |||| j | j �� � d S )N)�data�headers�verify�timeout)� verify_ssl�ca_certs�requests�postr )r �urlr r s r �sendzRequestsHTTPTransport.send sO � ��?� ,� #�m�D�O�� �c��g�!�_�d�l� D� D� D� D� D� Dr )�__name__� __module__�__qualname__�schemer r � __classcell__)r s @r r r s^ �� � � � � ��/� 0�F�E� E� E� E� E�D� D� D� D� D� D� Dr r ) �__doc__� __future__r �raven.transport.httpr r r r r � r r �<module>r&