Repository URL to install this package:
|
Version:
2.0.0-beta3-2-armbian20.08.0-trunk1 ▾
|
wiperf
/
usr
/
local
/
lib
/
python3.7
/
dist-packages
/
requests
/
__pycache__
/
hooks.cpython-37.pyc
|
|---|
B
Àìc¦üv´ã @ 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.
Úresponsec C s dd t D S )Nc S s i | ]
}g |qS © r )Ú.0Úeventr r ú4/tmp/pip-install-z4i6eiy2/requests/requests/hooks.pyú
<dictcomp> s z!default_hooks.<locals>.<dictcomp>)ÚHOOKSr r r r Ú
default_hooks s r c K sP |pi }| | ¡}|rLt|dr&|g}x$|D ]}||f|}|dk r,|}q,W |S )z6Dispatches a hook dictionary on a given piece of data.Ú__call__N)ÚgetÚhasattr)ÚkeyÚhooksÚ hook_dataÚkwargsÚhookÚ
_hook_datar r r Ú
dispatch_hook s
r N)Ú__doc__r r r r r r r Ú<module>
s