| Server IP : 104.21.4.30 / Your IP : 104.23.197.108 Web Server : Apache System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64 User : simottodesign.com_2tntp341vs7 ( 10011) PHP Version : 8.3.31 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/requests/__pycache__/ |
Upload File : |
U
(q�\� � @ s d Z dgZdd� Zdd� ZdS )z�
requests.hooks
~~~~~~~~~~~~~~
This module provides the capabilities for the Requests hooks system.
Available hooks:
``response``:
The response generated from a Request.
Zresponsec C s dd� t D �S )Nc S s i | ]
}|g �qS � r )�.0Zeventr r �0/usr/lib/python3/dist-packages/requests/hooks.py�
<dictcomp> s z!default_hooks.<locals>.<dictcomp>)�HOOKSr r r r �
default_hooks s r c K sL |pi }|� | �}|rHt|d�r&|g}|D ]}||f|�}|dk r*|}q*|S )z6Dispatches a hook dictionary on a given piece of data.�__call__N)�get�hasattr)�keyZhooksZ hook_data�kwargs�hookZ
_hook_datar r r �
dispatch_hook s
r
N)�__doc__r r r
r r r r �<module> s