+
     h-  c                  s   ^ RI Ht ^ RIt^ RIHt ^RIHt ^RIHt ^RI	H
t
 ^RIHtHtHtHtHtHtHtHtHt ^RIHt ]P.                  '       d   ^ RIt. R*OtR	RR
RRRRRRRRRRRRRRRR]RRRRRR/R R llt]R	RR
RRRRRRRRRRRRRRRR]RRRRRR/R R ll4       tR	RRRRRRRRRRRRRR]RR/	R R lltR	RRRRRRRRRRRRRR]RR/	R R lltR	RRRRRRRRRRRRRR]RR/	R  R! lltR
RRRRRRRR	RRRRRRRRRRRRRR]RR/R" R# lltR
RRRRRRRR	RRRRRRRRRRRRRR]RR/R$ R% llt R
RRRRRRRR	RRRRRRRRRRRRRR]RR/R& R' llt!R	RRRRRRRRRRRR]RRRR/	R( R) llt"R# )+i    )annotationsN)contextmanager)Client)DEFAULT_TIMEOUT_CONFIG)Response)		AuthTypesCookieTypesHeaderTypes
ProxyTypesQueryParamTypesRequestContentRequestDataRequestFilesTimeoutTypes)URLparamscontentdatafilesjsonheaderscookiesauthproxytimeoutfollow_redirectsFverifyT	trust_envc                X    V ^8  d   QhRRRRRRRRR	R
RRRRRRRRRRRRRRRRRRRRRR/# )    methodstrurl	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   returnr    Zformat   "//usr/lib/python3.14/site-packages/httpx/_api.py__annotate__r2   '   s     Q
 Q
Q
	Q
 #	Q

 #Q
 Q
 Q
 Q
  Q
  Q
 Q
 Q
 Q
 Q
 (Q
  !Q
" #Q
    c               s    \        VV
VVVR7      ;_uu_ 4       pVP                  V VVVVVVVV	VR7
      uuRRR4       #   + '       g   i     R# ; i)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   
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   clients   &&$$$$$$$$$$$$$ r1   r6   r6   '   sj    ~ 

 
 
~~-  

 
 
 
s	   ?A	c                r   ) r   r   r   r    r!   r   r"   r   r#   r   r$   r   r%   r   r&   r   r'   r   r(   r   r)   r   r*   r   r   r   r+   r   r,   r   r-   ztyping.Iterator[Response]r.   r/   r0   r1   r2   r2   |   s     / //	/ #	/
 #/ / / /  /  / / / / / (/  !/" #/r3   c             #  s   "   \        VV
VVVR7      ;_uu_ 4       pVP                  V VVVVVVVV	VR7
      ;_uu_ 4       pVx  RRR4       RRR4       R#   + '       g   i     L; i  + '       g   i     R# ; i5i)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
r4   r5   N)r   stream)r   r    r   r   r   r   r   r   r   r   r   r   r   r   r   r7   Zresponses   &&$$$$$$$$$$$$$  r1   r8   r8   {   s     : 

 
 
]]-  
 
 N

 

 

 
 
s3   A=$A)A	A)
A=A&!A))A:	4	A=c               D    V ^8  d   QhRRRRRRRRR	R
RRRRRRRRRRRR/# r   r    r!   r   r"   r   r'   r   r(   r   r)   r   r*   r   r+   r   r,   r   r   r   r-   r   r.   r/   r0   r1   r2   r2      x     ! !	! #!  	!
  ! ! ! ! (! ! ! !r3   c       	        .    \        RV VVVVVVVVV	R7      # )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.
ZGET	r   r   r   r   r   r   r   r   r   r6   
r    r   r   r   r   r   r   r   r   r   
   &$$$$$$$$$r1   getrA      s2    * ) r3   c               r9   r:   r.   r/   r0   r1   r2   r2      r;   r3   c       	        r<   )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.
ZOPTIONSr=   r>   r?   r@   r1   optionsrB      s2    * ) r3   c               r9   r:   r.   r/   r0   r1   r2   r2      r;   r3   c       	        r<   )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.
ZHEADr=   r>   r?   r@   r1   headrC      s2    * ) r3   c               T    V ^8  d   QhRRRRRRRRR	R
RRRRRRRRRRRRRRRRRRRR/# r   r    r!   r   r#   r   r$   r   r%   r   r&   r   r"   r   r'   r   r(   r   r)   r   r*   r   r+   r   r,   r   r   r   r-   r   r.   r/   r0   r1   r2   r2          & &	& #& 	&
 & & #&  &  & & & & (& & &  !&r3   c               6    \        RV VVVVVVVVV	V
VVVR7      # )z?
Sends a `POST` request.

**Parameters**: See `httpx.request`.
ZPOSTr   r   r   r   r   r   r   r   r   r   r   r   r   r>   r    r   r   r   r   r   r   r   r   r   r   r   r   r      &$$$$$$$$$$$$$r1   postrK     s>    , ) r3   c               rD   rE   r.   r/   r0   r1   r2   r2   C  rF   r3   c               rG   )z>
Sends a `PUT` request.

**Parameters**: See `httpx.request`.
ZPUTrH   r>   rI   rJ   r1   putrL   C  s>    , ) r3   c               rD   rE   r.   r/   r0   r1   r2   r2   l  rF   r3   c               rG   )z@
Sends a `PATCH` request.

**Parameters**: See `httpx.request`.
ZPATCHrH   r>   rI   rJ   r1   patchrM   l  s>    , ) r3   c               r9   )r   r    r!   r   r"   r   r'   r   r(   r   r)   r   r*   r   r+   r   r   r   r,   r   r-   r   r.   r/   r0   r1   r2   r2     sx     ! !	! #!  	!
  ! ! ! ! ! (! ! !r3   c       	        s.    \        RV VVVVVVVVV	R7      # )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.
ZDELETEr=   r>   )
r    r   r   r   r   r   r   r   r   r   r@   r1   deleterN     s2    * ) r3   )	rN   rA   rC   rB   rM   rK   rL   r6   r8   )#Z
__future__r    ZtypingZ
contextlibr   Z_clientr   Z_configr   Z_modelsr   Z_typesr   r   r   r   r	   r
   r   r   r   Z_urlsr   ZTYPE_CHECKINGZsslZ__all__r6   r8   rA   rB   rC   rK   rL   rM   rN   r.   r3   r1   <module>rO      s   "  %  + 
 
 
 	
Q
 &*	Q

 &*Q
  $Q
 "&Q
 #Q
 #'Q
 #'Q
 "Q
  $Q
 3Q
 #Q
 +/Q
  !Q
h / &*	/
 &*/  $/ "&/ #/ #'/ #'/ "/  $/ 3/ #/ +//  !/ /d! &*! #'	!
 #'! "!  $! #! +/! 3! !H! &*! #'	!
 #'! "!  $! #! +/! 3! !H! &*! #'	!
 #'! "!  $! #! +/! 3! !H& &*&  $	&
 "&& #& &*& #'& #'& "&  $& #& +/& 3& &R& &*&  $	&
 "&& #& &*& #'& #'& "&  $& #& +/& 3& &R& &*&  $	&
 "&& #& &*& #'& #'& "&  $& #& +/& 3& &R! &*! #'	!
 #'! "!  $! #! 3! +/! ! !r3   