| Server IP : 185.143.233.130 / Your IP : 185.215.232.195 Web Server : LiteSpeed System : Linux jambul.7ho.st 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 User : renecafe ( 1327) PHP Version : 8.1.33 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/requests/__pycache__/ |
Upload File : |
�
�)!����� � � d Z dgZd� Zd� ZdS )z�
requests.hooks
~~~~~~~~~~~~~~
This module provides the capabilities for the Requests hooks system.
Available hooks:
``response``:
The response generated from a Request.
�responsec �$ � d� t D � � S )Nc � � i | ]}|g ��S � r )�.0�events �_/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/requests/hooks.py�
<dictcomp>z!default_hooks.<locals>.<dictcomp> s � �)�)�)�%�E�2�)�)�)� )�HOOKSr r
r �
default_hooksr s � �)�)�5�)�)�)�)r
c � � |pi }|� | � � }|r%t |d� � r|g}|D ]} ||fi |��}|�|}�|S )z6Dispatches a hook dictionary on a given piece of data.�__call__)�get�hasattr)�key�hooks� hook_data�kwargs�hook�
_hook_datas r �
dispatch_hookr ss � ��K�R�E��I�I�c�N�N�E�� '��5�*�%�%� ��G�E�� '� '�D���i�2�2�6�2�2�J��%�&� ���r
N)�__doc__r r r r r
r �<module>r s@ ��
�
�
���*� *� *�� � � � r