ó
    §ZÇhß-  ã                  óè  • S SK Jr  S SKrS SKJr  SSKJr  SSKJr  SSK	J
r
  SSKJrJrJrJrJrJrJrJrJr  SS	KJr  \R.                  (       a  S SKr/ S
QrSSSSSSSSS\SSSS.                               SS jjr\SSSSSSSSS\SSSS.                               SS jj5       rSSSSSSS\SS.	                     SS jjrSSSSSSS\SS.	                     SS jjrSSSSSSS\SS.	                     SS jjrSSSSSSSSSSS\SS.                             SS jjrSSSSSSSSSSS\SS.                             SS jjr SSSSSSSSSSS\SS.                             SS jjr!SSSSSS\SSS.	                     SS jjr"g)é    )ÚannotationsN)Úcontextmanageré   )ÚClient)ÚDEFAULT_TIMEOUT_CONFIG)ÚResponse)	Ú	AuthTypesÚCookieTypesÚHeaderTypesÚ
ProxyTypesÚQueryParamTypesÚRequestContentÚRequestDataÚRequestFilesÚTimeoutTypes)ÚURL)	ÚdeleteÚgetÚheadÚoptionsÚpatchÚpostÚputÚrequestÚstreamFT)ÚparamsÚcontentÚdataÚfilesÚjsonÚheadersÚcookiesÚauthÚproxyÚtimeoutÚfollow_redirectsÚverifyÚ	trust_envc               ó‚   • [        UU
UUUS9 nUR                  U UUUUUUUU	US9
sSSS5        $ ! , (       d  f       g= f)ar  
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.
* **proxy** - *(optional)* A proxy URL where all the traffic should be routed.
* **timeout** - *(optional)* The timeout configuration to use when sending
the request.
* **follow_redirects** - *(optional)* Enables or disables HTTP redirects.
* **verify** - *(optional)* Either `True` to use an SSL context with the
default CA bundle, `False` to disable verification, or an instance of
`ssl.SSLContext` to use a custom context.
* **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(   ©
ÚmethodÚurlr   r   r   r    r   r!   r#   r&   N)r   r   )r,   r-   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   Úclients                   ÚG/home/mande/repo/quber/.venv/lib/python3.13/site-packages/httpx/_api.pyr   r   '   s`   € ô~ 
ØØØØØò
ð 
Ø�~‰~ØØØØØØØØØØ-ð ð 
÷
÷ 
÷ 
ús   Ž0°
>c             #  óÆ   #   • [        UU
UUUS9 nUR                  U UUUUUUUU	US9
 nUv •  SSS5        SSS5        g! , (       d  f       N= f! , (       d  f       g= f7f)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   r   )r,   r-   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r.   Úresponses                    r/   r   r   {   s€   é € ô: 
ØØØØØò
ð 
Ø�]‰]ØØØØØØØØØØ-ð ñ 
ð ØŠN÷
÷
ð 
÷
õ 
ú÷
õ 
üs/   ‚A!�A©?®A¶	A!¿
A	Á	AÁ
AÁA!©	r   r!   r"   r#   r$   r&   r'   r%   r(   c       	        ó(   • [        SU UUUUUUUUU	S9$ )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.
ÚGETr2   ©r   ©
r-   r   r!   r"   r#   r$   r&   r'   r%   r(   s
             r/   r   r   ®   s2   € ô* ØØØØØØØØ)ØØØñð ó    c       	        ó(   • [        SU UUUUUUUUU	S9$ )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.
ÚOPTIONSr2   r5   r6   s
             r/   r   r   Ò   s2   € ô* ØØØØØØØØ)ØØØñð r7   c       	        ó(   • [        SU UUUUUUUUU	S9$ )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.
ÚHEADr2   r5   r6   s
             r/   r   r   ö   s2   € ô* ØØØØØØØØ)ØØØñð r7   ©r   r   r   r    r   r!   r"   r#   r$   r&   r'   r%   r(   c               ó0   • [        SU UUUUUUUUU	U
UUUS9$ )z?
Sends a `POST` request.

**Parameters**: See `httpx.request`.
ÚPOSTr<   r5   ©r-   r   r   r   r    r   r!   r"   r#   r$   r&   r'   r%   r(   s                 r/   r   r     s>   € ô, ØØØØØØØØØØØØ)ØØØñð r7   c               ó0   • [        SU UUUUUUUUU	U
UUUS9$ )z>
Sends a `PUT` request.

**Parameters**: See `httpx.request`.
ÚPUTr<   r5   r?   s                 r/   r   r   C  s>   € ô, ØØØØØØØØØØØØ)ØØØñð r7   c               ó0   • [        SU UUUUUUUUU	U
UUUS9$ )z@
Sends a `PATCH` request.

**Parameters**: See `httpx.request`.
ÚPATCHr<   r5   r?   s                 r/   r   r   l  s>   € ô, ØØØØØØØØØØØØ)ØØØñð r7   )	r   r!   r"   r#   r$   r&   r%   r'   r(   c       	        ó(   • [        SU UUUUUUUUU	S9$ )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.
ÚDELETEr2   r5   )
r-   r   r!   r"   r#   r$   r&   r%   r'   r(   s
             r/   r   r   •  s2   € ô* ØØØØØØØØ)ØØØñð r7   ) r,   Ústrr-   ú	URL | strr   úQueryParamTypes | Noner   úRequestContent | Noner   úRequestData | Noner   úRequestFiles | Noner    útyping.Any | Noner!   úHeaderTypes | Noner"   úCookieTypes | Noner#   úAuthTypes | Noner$   úProxyTypes | Noner%   r   r&   Úboolr'   ússl.SSLContext | str | boolr(   rQ   Úreturnr   ) r,   rF   r-   rG   r   rH   r   rI   r   rJ   r   rK   r    rL   r!   rM   r"   rN   r#   rO   r$   rP   r%   r   r&   rQ   r'   rR   r(   rQ   rS   ztyping.Iterator[Response])r-   rG   r   rH   r!   rM   r"   rN   r#   rO   r$   rP   r&   rQ   r'   rR   r%   r   r(   rQ   rS   r   )r-   rG   r   rI   r   rJ   r   rK   r    rL   r   rH   r!   rM   r"   rN   r#   rO   r$   rP   r&   rQ   r'   rR   r%   r   r(   rQ   rS   r   )r-   rG   r   rH   r!   rM   r"   rN   r#   rO   r$   rP   r&   rQ   r%   r   r'   rR   r(   rQ   rS   r   )#Ú
__future__r   ÚtypingÚ
contextlibr   Ú_clientr   Ú_configr   Ú_modelsr   Ú_typesr	   r
   r   r   r   r   r   r   r   Ú_urlsr   ÚTYPE_CHECKINGÚsslÚ__all__r   r   r   r   r   r   r   r   r   © r7   r/   Ú<module>r`      sx  ðÝ "ã Ý %å Ý +Ý ÷
÷ 
õ 
õ à	××Ûò
€ð" &*Ø%)Ø#Ø!%Ø"Ø"&Ø"&Ø!Ø#Ø2Ø"Ø*.Øñ!Q
ØðQ
à	ðQ
ð #ð	Q
ð
 #ðQ
ð ðQ
ð ðQ
ð ðQ
ð  ðQ
ð  ðQ
ð ðQ
ð ðQ
ð ðQ
ð ðQ
ð (ðQ
ð  ð!Q
ð" õ#Q
ðh ð
 &*Ø%)Ø#Ø!%Ø"Ø"&Ø"&Ø!Ø#Ø2Ø"Ø*.Øñ!/Øð/à	ð/ð #ð	/ð
 #ð/ð ð/ð ð/ð ð/ð  ð/ð  ð/ð ð/ð ð/ð ð/ð ð/ð (ð/ð  ð!/ð" ô#/ó ð/ðj &*Ø"&Ø"&Ø!Ø#Ø"Ø*.Ø2Øñ!Ø	ð!ð #ð!ð  ð	!ð
  ð!ð ð!ð ð!ð ð!ð (ð!ð ð!ð ð!ð õ!ðN &*Ø"&Ø"&Ø!Ø#Ø"Ø*.Ø2Øñ!Ø	ð!ð #ð!ð  ð	!ð
  ð!ð ð!ð ð!ð ð!ð (ð!ð ð!ð ð!ð õ!ðN &*Ø"&Ø"&Ø!Ø#Ø"Ø*.Ø2Øñ!Ø	ð!ð #ð!ð  ð	!ð
  ð!ð ð!ð ð!ð ð!ð (ð!ð ð!ð ð!ð õ!ðN &*Ø#Ø!%Ø"Ø%)Ø"&Ø"&Ø!Ø#Ø"Ø*.Ø2Øñ&Ø	ð&ð #ð&ð ð	&ð
 ð&ð ð&ð #ð&ð  ð&ð  ð&ð ð&ð ð&ð ð&ð (ð&ð ð&ð ð&ð  õ!&ðX &*Ø#Ø!%Ø"Ø%)Ø"&Ø"&Ø!Ø#Ø"Ø*.Ø2Øñ&Ø	ð&ð #ð&ð ð	&ð
 ð&ð ð&ð #ð&ð  ð&ð  ð&ð ð&ð ð&ð ð&ð (ð&ð ð&ð ð&ð  õ!&ðX &*Ø#Ø!%Ø"Ø%)Ø"&Ø"&Ø!Ø#Ø"Ø*.Ø2Øñ&Ø	ð&ð #ð&ð ð	&ð
 ð&ð ð&ð #ð&ð  ð&ð  ð&ð ð&ð ð&ð ð&ð (ð&ð ð&ð ð&ð  õ!&ðX &*Ø"&Ø"&Ø!Ø#Ø"Ø2Ø*.Øñ!Ø	ð!ð #ð!ð  ð	!ð
  ð!ð ð!ð ð!ð ð!ð ð!ð (ð!ð ð!ð ö!r7   