o
    ^[2h                     @   s2   d dl mZ g dZdd ZdedefddZd	S )
    )Request)headerscookiesverifycerthttp1http2proxymountstimeoutfollow_redirectslimitsmax_redirectsevent_hooksbase_url	transport	trust_envdefault_encodingc                 C   s(   i }t D ]}|| v r| |||< q|S )N)HTTPX_CLIENT_KWARGSpop)kwargsclient_kwargsk r   x/home/skpark/git/infrasmart_work/infrasmart/venv/lib/python3.10/site-packages/authlib/integrations/httpx_client/utils.pyextract_client_kwargs   s   r   initial_requestreturnc                 C   s(   t |j| ||d}t|dr|j|_|S )zQMake sure that all the data from initial request is passed to the updated object.)methodurlr   content
extensions)r   r   hasattrr!   )r   r   bodyr   updated_requestr   r   r   build_request    s   

r%   N)httpxr   r   r   r%   r   r   r   r   <module>   s    