
    #	h                     :    S r  " S S\5      r " S S\5      rS rg)zThis module documents the minimal http behaviors used by this package.

Its interface is influenced by, and similar to a subset of some popular,
real-world http libraries, such as requests, aiohttp and httpx.
c                   ,    \ rS rSrSrSS jrSS jrSrg)	
HttpClient   zEThis describes a minimal http request interface used by this package.Nc                     [        5       $ )a  HTTP post.

:param dict params: A dict to be url-encoded and sent as query-string.
:param dict headers: A dict representing headers to be sent via request.
:param data:
    Implementation needs to support 2 types.

    * A dict, which will need to be urlencode() before being sent.
    * (Recommended) A string, which will be sent in request as-is.

It returns an :class:`~Response`-like object.

Note: In its async counterpart, this method would be defined as async.
Response)selfurlparamsdataheaderskwargss         E/var/www/html/env/lib/python3.13/site-packages/msal/oauth2cli/http.pypostHttpClient.post   s     z    c                     [        5       $ )a  HTTP get.

:param dict params: A dict to be url-encoded and sent as query-string.
:param dict headers: A dict representing headers to be sent via request.

It returns an :class:`~Response`-like object.

Note: In its async counterpart, this method would be defined as async.
r   )r   r	   r
   r   r   s        r   getHttpClient.get   s     zr    )NNN)NN)__name__
__module____qualname____firstlineno____doc__r   r   __static_attributes__r   r   r   r   r      s    O"
r   r   c                   *    \ rS rSrSrSrSr0 rS rSr	g)r   )   aM  This describes a minimal http response interface used by this package.

:var int status_code:
    The status code of this http response.

    Our async code path would also accept an alias as "status".

:var string text:
    The body of this http response.

    Our async code path would also accept an awaitable with the same name.
   zbody as a stringc                     [        S5      e)z;Raise an exception when http response status contains errorz'Your implementation should provide this)NotImplementedError)r   s    r   raise_for_statusResponse.raise_for_statusB   s    !"KLLr   r   N)
r   r   r   r   r   status_codetextr   r!   r   r   r   r   r   r   )   s      KD
 G
Mr   r   c                 B    [        U SS 5      =(       d    U R                  $ )Nr#   )getattrstatus)resps    r   _get_status_coder)   G   s    4-<<r   N)r   objectr   r   r)   r   r   r   <module>r+      s*    BMv M<=r   