Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /snap/core20/2599/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