Ë
    $Æ%hJ  ã                  ó²   — d dl mZ d dlZd dlZddlmZmZmZmZ ddl	m
Z
 ddddœ	 	 	 	 	 	 	 	 	 	 	 d	d„Zej                  ddddœ	 	 	 	 	 	 	 	 	 	 	 d
d„«       Zy)é    )ÚannotationsNé   )ÚURLÚ
ExtensionsÚHeaderTypesÚResponse)ÚConnectionPool)ÚheadersÚcontentÚ
extensionsc               ón   — t        «       5 }|j                  | ||||¬«      cddd«       S # 1 sw Y   yxY w)aT  
    Sends an HTTP request, returning the response.

    ```
    response = httpcore.request("GET", "https://www.example.com/")
    ```

    Arguments:
        method: The HTTP method for the request. Typically one of `"GET"`,
            `"OPTIONS"`, `"HEAD"`, `"POST"`, `"PUT"`, `"PATCH"`, or `"DELETE"`.
        url: The URL of the HTTP request. Either as an instance of `httpcore.URL`,
            or as str/bytes.
        headers: The HTTP request headers. Either as a dictionary of str/bytes,
            or as a list of two-tuples of str/bytes.
        content: The content of the request body. Either as bytes,
            or as a bytes iterator.
        extensions: A dictionary of optional extra information included on the request.
            Possible keys include `"timeout"`.

    Returns:
        An instance of `httpcore.Response`.
    ©ÚmethodÚurlr
   r   r   N)r	   Úrequest)r   r   r
   r   r   Úpools         úK/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/httpcore/_api.pyr   r   
   sA   € ô< 
Ó	ð 
˜TØ�|‰|ØØØØØ!ð ó 
÷
÷ 
ò 
ús   ‹+«4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)ao  
    Sends an HTTP request, returning the response within a content manager.

    ```
    with httpcore.stream("GET", "https://www.example.com/") as response:
        ...
    ```

    When using the `stream()` function, the body of the response will not be
    automatically read. If you want to access the response body you should
    either use `content = response.read()`, or `for chunk in response.iter_content()`.

    Arguments:
        method: The HTTP method for the request. Typically one of `"GET"`,
            `"OPTIONS"`, `"HEAD"`, `"POST"`, `"PUT"`, `"PATCH"`, or `"DELETE"`.
        url: The URL of the HTTP request. Either as an instance of `httpcore.URL`,
            or as str/bytes.
        headers: The HTTP request headers. Either as a dictionary of str/bytes,
            or as a list of two-tuples of str/bytes.
        content: The content of the request body. Either as bytes,
            or as a bytes iterator.
        extensions: A dictionary of optional extra information included on the request.
            Possible keys include `"timeout"`.

    Returns:
        An instance of `httpcore.Response`.
    r   N)r	   Ústream)r   r   r
   r   r   r   Úresponses          r   r   r   2   si   è ø€ ôH 
Ó	ð ˜TØ�[‰[ØØØØØ!ð ó 
ð 	ð ØŠN÷	÷ð ÷	ð 	ú÷ð üs.   ‚A�A¤:©A±	AºA	¿AÁAÁA)r   úbytes | strr   úURL | bytes | strr
   r   r   ú%bytes | typing.Iterator[bytes] | Noner   úExtensions | NoneÚreturnr   )r   r   r   r   r
   r   r   r   r   r   r   ztyping.Iterator[Response])Ú
__future__r   Ú
contextlibÚtypingÚ_modelsr   r   r   r   Ú_sync.connection_poolr	   r   Úcontextmanagerr   © ó    r   ú<module>r$      s½   ðÝ "ã Û ç ;Ó ;Ý 1ð  Ø59Ø$(ñ%
Øð%
à	ð%
ð ð	%
ð
 3ð%
ð "ð%
ð ó%
ðP ×Ñð
  Ø59Ø$(ñ+Øð+à	ð+ð ð	+ð
 3ð+ð "ð+ð ò+ó ñ+r#   