Ë
    ,Œ:jÓ2  ã            %       óÐ  — d dl Z d dlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
mZmZmZmZmZmZmZmZmZmZmZ dddddddddedd	dd	d
œdedede j.                  e   de j.                  e   de j.                  e   de j.                  e   de j.                  e j0                     de j.                  e   de j.                  e   de j.                  e
   de j.                  e   dededede j.                  e   dedef"d„Zedddddddddedd	dd	d
œdedede j.                  e   de j.                  e   de j.                  e   de j.                  e   de j.                  e j0                     de j.                  e   de j.                  e   de j.                  e
   de j.                  e   dededede j.                  e   dede j6                  e   f"d„«       Zdddddddd	ed	dœ
dede j.                  e   de j.                  e   de j.                  e   de j.                  e
   de j.                  e   dede j.                  e   dedededefd„Zdddddddd	ed	dœ
dede j.                  e   de j.                  e   de j.                  e   de j.                  e
   de j.                  e   dede j.                  e   dedededefd „Zdddddddd	ed	dœ
dede j.                  e   de j.                  e   de j.                  e   de j.                  e
   de j.                  e   dede j.                  e   dedededefd!„Zdddddddddddd	ed	d"œdede j.                  e   de j.                  e   de j.                  e   de j.                  e j0                     de j.                  e   de j.                  e   de j.                  e   de j.                  e
   de j.                  e   dede j.                  e   dedededef d#„Z dddddddddddd	ed	d"œdede j.                  e   de j.                  e   de j.                  e   de j.                  e j0                     de j.                  e   de j.                  e   de j.                  e   de j.                  e
   de j.                  e   dede j.                  e   dedededef d$„Z!dddddddddddd	ed	d"œdede j.                  e   de j.                  e   de j.                  e   de j.                  e j0                     de j.                  e   de j.                  e   de j.                  e   de j.                  e
   de j.                  e   dede j.                  e   dedededef d%„Z"dddddddd	ed	dœ
dede j.                  e   de j.                  e   de j.                  e   de j.                  e
   de j.                  e   dede j.                  e   dedededefd&„Z#y)'é    N)Úcontextmanageré   )ÚClient)ÚDEFAULT_TIMEOUT_CONFIG)ÚResponse)Ú	AuthTypesÚ	CertTypesÚCookieTypesÚHeaderTypesÚProxiesTypesÚQueryParamTypesÚRequestContentÚRequestDataÚRequestFilesÚTimeoutTypesÚURLTypesÚVerifyTypesFT)ÚparamsÚcontentÚdataÚfilesÚjsonÚheadersÚcookiesÚauthÚproxiesÚtimeoutÚfollow_redirectsÚverifyÚcertÚ	trust_envÚmethodÚurlr   r   r   r   r   r   r   r   r   r   r   r   r    r!   Úreturnc                ó†   — t        ||
||||¬«      5 }|j                  | ||||||||	|¬«
      cddd«       S # 1 sw Y   yxY w)aV  
    Sends an HTTP request.

    **Parameters:**

    * **method** - HTTP method for the new `Request` object: `GET`, `OPTIONS`,
    `HEAD`, `POST`, `PUT`, `PATCH`, or `DELETE`.
    * **url** - URL for the new `Request` object.
    * **params** - *(optional)* Query parameters to include in the URL, as a
    string, dictionary, or sequence of two-tuples.
    * **content** - *(optional)* Binary content to include in the body of the
    request, as bytes or a byte iterator.
    * **data** - *(optional)* Form data to include in the body of the request,
    as a dictionary.
    * **files** - *(optional)* A dictionary of upload files to include in the
    body of the request.
    * **json** - *(optional)* A JSON serializable object to include in the body
    of the request.
    * **headers** - *(optional)* Dictionary of HTTP headers to include in the
    request.
    * **cookies** - *(optional)* Dictionary of Cookie items to include in the
    request.
    * **auth** - *(optional)* An authentication class to use when sending the
    request.
    * **proxies** - *(optional)* A dictionary mapping proxy keys to proxy URLs.
    * **timeout** - *(optional)* The timeout configuration to use when sending
    the request.
    * **follow_redirects** - *(optional)* Enables or disables HTTP redirects.
    * **verify** - *(optional)* SSL certificates (a.k.a CA bundle) used to
    verify the identity of requested hosts. Either `True` (default CA bundle),
    a path to an SSL certificate file, an `ssl.SSLContext`, or `False`
    (which will disable verification).
    * **cert** - *(optional)* An SSL certificate used by the requested host
    to authenticate the client. Either a path to an SSL certificate file, or
    two-tuple of (certificate file, key file), or a three-tuple of (certificate
    file, key file, password).
    * **trust_env** - *(optional)* Enables or disables usage of environment
    variables for configuration.

    **Returns:** `Response`

    Usage:

    ```
    >>> import httpx
    >>> response = httpx.request('GET', 'https://httpbin.org/get')
    >>> response
    <Response [200 OK]>
    ```
    ©r   r   r    r   r   r!   ©
r"   r#   r   r   r   r   r   r   r   r   N)r   Úrequest)r"   r#   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   Úclients                    úL/var/www/html/tokenscope/api/venv/lib/python3.12/site-packages/httpx/_api.pyr(   r(      sh   € ôJ 
ØØØØØØô
ð 
ð 
Ø�~‰~ØØØØØØØØØØ-ð ó 
÷
÷ 
ò 
ús	   ’7·A c             #   óÀ   K  — t        ||
||||¬«      5 }|j                  | ||||||||	|¬«
      5 }|–— ddd«       ddd«       y# 1 sw Y   ŒxY w# 1 sw Y   yxY w­w)zô
    Alternative to `httpx.request()` that streams the response body
    instead of loading it into memory at once.

    **Parameters**: See `httpx.request`.

    See also: [Streaming Responses][0]

    [0]: /quickstart#streaming-responses
    r&   r'   N)r   Ústream)r"   r#   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r)   Úresponses                     r*   r,   r,   r   sŽ   è ø€ ô< 
ØØØØØØô
ð ð 
Ø�]‰]ØØØØØØØØØØ-ð ó 
ð 	ð ØŠN÷	÷ð ÷	ð 	ú÷ð üs1   ‚A”A°AµA½	AÁA	ÁAÁAÁA©
r   r   r   r   r   r   r    r   r   r!   c       
         ó0   — t        d| |||||||||	|
¬«      S )zë
    Sends a `GET` request.

    **Parameters**: See `httpx.request`.

    Note that the `data`, `files`, `json` and `content` parameters are not available
    on this function, as `GET` requests should not include a request body.
    ÚGETr.   ©r(   ©r#   r   r   r   r   r   r   r    r   r   r!   s              r*   Úgetr3   §   s5   € ô, ØØØØØØØØ)ØØØØôð ó    c       
         ó0   — t        d| |||||||||	|
¬«      S )zô
    Sends an `OPTIONS` request.

    **Parameters**: See `httpx.request`.

    Note that the `data`, `files`, `json` and `content` parameters are not available
    on this function, as `OPTIONS` requests should not include a request body.
    ÚOPTIONSr.   r1   r2   s              r*   Úoptionsr7   Í   s5   € ô, ØØØØØØØØ)ØØØØôð r4   c       
         ó0   — t        d| |||||||||	|
¬«      S )zí
    Sends a `HEAD` request.

    **Parameters**: See `httpx.request`.

    Note that the `data`, `files`, `json` and `content` parameters are not available
    on this function, as `HEAD` requests should not include a request body.
    ÚHEADr.   r1   r2   s              r*   Úheadr:   ó   s5   € ô, ØØØØØØØØ)ØØØØôð r4   ©r   r   r   r   r   r   r   r   r   r   r    r   r   r!   c                ó8   — t        d| |||||||||	|
||||¬«      S )zK
    Sends a `POST` request.

    **Parameters**: See `httpx.request`.
    ÚPOSTr;   r1   ©r#   r   r   r   r   r   r   r   r   r   r   r    r   r   r!   s                  r*   Úpostr?     sA   € ô. ØØØØØØØØØØØØ)ØØØØô!ð r4   c                ó8   — t        d| |||||||||	|
||||¬«      S )zJ
    Sends a `PUT` request.

    **Parameters**: See `httpx.request`.
    ÚPUTr;   r1   r>   s                  r*   ÚputrB   D  sA   € ô. ØØØØØØØØØØØØ)ØØØØô!ð r4   c                ó8   — t        d| |||||||||	|
||||¬«      S )zL
    Sends a `PATCH` request.

    **Parameters**: See `httpx.request`.
    ÚPATCHr;   r1   r>   s                  r*   ÚpatchrE   o  sA   € ô. ØØØØØØØØØØØØ)ØØØØô!ð r4   c       
         ó0   — t        d| |||||||||	|
¬«      S )zñ
    Sends a `DELETE` request.

    **Parameters**: See `httpx.request`.

    Note that the `data`, `files`, `json` and `content` parameters are not available
    on this function, as `DELETE` requests should not include a request body.
    ÚDELETEr.   r1   r2   s              r*   ÚdeleterH   š  s5   € ô, ØØØØØØØØ)ØØØØôð r4   )$ÚtypingÚ
contextlibr   Ú_clientr   Ú_configr   Ú_modelsr   Ú_typesr   r	   r
   r   r   r   r   r   r   r   r   r   ÚstrÚOptionalÚAnyÚboolr(   ÚIteratorr,   r3   r7   r:   r?   rB   rE   rH   © r4   r*   ú<module>rU      s�	  ðÛ Ý %å Ý +Ý ÷÷ ÷ ó ð( 04Ø/3Ø)-Ø+/Ø(,Ø,0Ø,0Ø'+Ø-1Ø2Ø"ØØ'+Øò#X
ØðX
à	ðX
ð �O‰O˜OÑ,ð	X
ð
 �_‰_˜^Ñ,ðX
ð �/‰/˜+Ñ
&ðX
ð �?‰?˜<Ñ(ðX
ð �/‰/˜&Ÿ*™*Ñ
%ðX
ð �_‰_˜[Ñ)ðX
ð �_‰_˜[Ñ)ðX
ð �/‰/˜)Ñ
$ðX
ð �_‰_˜\Ñ*ðX
ð ðX
ð ðX
ð ðX
ð  �/‰/˜)Ñ
$ð!X
ð" ð#X
ð$ ó%X
ðv ð
 04Ø/3Ø)-Ø+/Ø(,Ø,0Ø,0Ø'+Ø-1Ø2Ø"ØØ'+Øò#1Øð1à	ð1ð �O‰O˜OÑ,ð	1ð
 �_‰_˜^Ñ,ð1ð �/‰/˜+Ñ
&ð1ð �?‰?˜<Ñ(ð1ð �/‰/˜&Ÿ*™*Ñ
%ð1ð �_‰_˜[Ñ)ð1ð �_‰_˜[Ñ)ð1ð �/‰/˜)Ñ
$ð1ð �_‰_˜\Ñ*ð1ð ð1ð ð1ð ð1ð  �/‰/˜)Ñ
$ð!1ð" ð#1ð$ ‡_�_�XÑò%1ó ð1ðn 04Ø,0Ø,0Ø'+Ø-1Ø"Ø'+ØØ2Øò#Ø	ð#ð �O‰O˜OÑ,ð#ð �_‰_˜[Ñ)ð	#ð
 �_‰_˜[Ñ)ð#ð �/‰/˜)Ñ
$ð#ð �_‰_˜\Ñ*ð#ð ð#ð �/‰/˜)Ñ
$ð#ð ð#ð ð#ð ð#ð ó#ðR 04Ø,0Ø,0Ø'+Ø-1Ø"Ø'+ØØ2Øò#Ø	ð#ð �O‰O˜OÑ,ð#ð �_‰_˜[Ñ)ð	#ð
 �_‰_˜[Ñ)ð#ð �/‰/˜)Ñ
$ð#ð �_‰_˜\Ñ*ð#ð ð#ð �/‰/˜)Ñ
$ð#ð ð#ð ð#ð ð#ð ó#ðR 04Ø,0Ø,0Ø'+Ø-1Ø"Ø'+ØØ2Øò#Ø	ð#ð �O‰O˜OÑ,ð#ð �_‰_˜[Ñ)ð	#ð
 �_‰_˜[Ñ)ð#ð �/‰/˜)Ñ
$ð#ð �_‰_˜\Ñ*ð#ð ð#ð �/‰/˜)Ñ
$ð#ð ð#ð ð#ð ð#ð ó#ðR 04Ø)-Ø+/Ø(,Ø/3Ø,0Ø,0Ø'+Ø-1Ø"Ø'+ØØ2Øò!(Ø	ð(ð �_‰_˜^Ñ,ð(ð �/‰/˜+Ñ
&ð	(ð
 �?‰?˜<Ñ(ð(ð �/‰/˜&Ÿ*™*Ñ
%ð(ð �O‰O˜OÑ,ð(ð �_‰_˜[Ñ)ð(ð �_‰_˜[Ñ)ð(ð �/‰/˜)Ñ
$ð(ð �_‰_˜\Ñ*ð(ð ð(ð �/‰/˜)Ñ
$ð(ð ð(ð ð(ð  ð!(ð" ó#(ð\ 04Ø)-Ø+/Ø(,Ø/3Ø,0Ø,0Ø'+Ø-1Ø"Ø'+ØØ2Øò!(Ø	ð(ð �_‰_˜^Ñ,ð(ð �/‰/˜+Ñ
&ð	(ð
 �?‰?˜<Ñ(ð(ð �/‰/˜&Ÿ*™*Ñ
%ð(ð �O‰O˜OÑ,ð(ð �_‰_˜[Ñ)ð(ð �_‰_˜[Ñ)ð(ð �/‰/˜)Ñ
$ð(ð �_‰_˜\Ñ*ð(ð ð(ð �/‰/˜)Ñ
$ð(ð ð(ð ð(ð  ð!(ð" ó#(ð\ 04Ø)-Ø+/Ø(,Ø/3Ø,0Ø,0Ø'+Ø-1Ø"Ø'+ØØ2Øò!(Ø	ð(ð �_‰_˜^Ñ,ð(ð �/‰/˜+Ñ
&ð	(ð
 �?‰?˜<Ñ(ð(ð �/‰/˜&Ÿ*™*Ñ
%ð(ð �O‰O˜OÑ,ð(ð �_‰_˜[Ñ)ð(ð �_‰_˜[Ñ)ð(ð �/‰/˜)Ñ
$ð(ð �_‰_˜\Ñ*ð(ð ð(ð �/‰/˜)Ñ
$ð(ð ð(ð ð(ð  ð!(ð" ó#(ð\ 04Ø,0Ø,0Ø'+Ø-1Ø"Ø'+ØØ2Øò#Ø	ð#ð �O‰O˜OÑ,ð#ð �_‰_˜[Ñ)ð	#ð
 �_‰_˜[Ñ)ð#ð �/‰/˜)Ñ
$ð#ð �_‰_˜\Ñ*ð#ð ð#ð �/‰/˜)Ñ
$ð#ð ð#ð ð#ð ð#ð ô#r4   