Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
hc_python
/
lib64
/
python3.12
/
site-packages
/
sentry_sdk
/
integrations
/
__pycache__
[ HOME ]
Exec
Submit
File Name : httpx.cpython-312.pyc
� w�/i� � � � d dl Z d dl mZ d dlmZmZ d dlmZmZ d dlm Z d dl mZmZm Z d dlmZmZmZmZmZ d dlmZ erd d lmZ d d lmZ d dlmZmZmZmZ d gZ G d� d e� Z d� Z!d� Z"d� Z#y# e$ r ed� �w xY w)� N)� start_span)�OP�SPANDATA)�Integration�DidNotEnable)�BAGGAGE_HEADER_NAME)�Baggage�should_propagate_trace�add_http_request_source)�SENSITIVE_DATA_SUBSTITUTE�capture_internal_exceptions�ensure_integration_enabled�logger� parse_url)� TYPE_CHECKING)�MutableMapping)�Any)�AsyncClient�Client�Request�Responsezhttpx is not installed�HttpxIntegrationc �* � e Zd ZdZde� �Zed� � Zy)r �httpxz auto.http.c �, � t � t � y)z� httpx has its own transport layer and can be customized when needed, so patch Client.send and AsyncClient.send to support both synchronous and async interfaces. N)�_install_httpx_client�_install_httpx_async_client� � �L/opt/hc_python/lib/python3.12/site-packages/sentry_sdk/integrations/httpx.py� setup_oncezHttpxIntegration.setup_once&