D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib
/
python3
/
dist-packages
/
requests
/
__pycache__
/
Filename :
hooks.cpython-312.pyc
back
Copy
� �kd� � � � d Z dgZd� Zd� Zy)z� requests.hooks ~~~~~~~~~~~~~~ This module provides the capabilities for the Requests hooks system. Available hooks: ``response``: The response generated from a Request. �responsec �6 � t D � ci c] } | g �� c} S c c} w )N)�HOOKS)�events �0/usr/lib/python3/dist-packages/requests/hooks.py� default_hooksr s � �#(�)�%�E�2�I�)�)��)s � c � � |xs i }|j | � }|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 s] � ��K�R�E��I�I�c�N�E���5�*�%��G�E�� '�D��i�2�6�2�J��%�&� � '� �� N)�__doc__r r r � r r �<module>r s �� � ���*�r