VYÿã@s+dZdgZdd„Zdd„ZdS)z± requests.hooks ~~~~~~~~~~~~~~ This module provides the capabilities for the Requests hooks system. Available hooks: ``response``: The response generated from a Request. ÚresponsecCstdd„tDƒƒS)Ncss|]}|gfVqdS)N©)Ú.0Úeventrrú2/tmp/pip-build-04bmskau/requests/requests/hooks.pyú sz default_hooks..)ÚdictÚHOOKSrrrrÚ default_hookssr cKsr|p tƒ}|j|ƒ}|rnt|dƒr<|g}x/|D]'}|||}|dk rC|}qCW|S)z6Dispatches a hook dictionary on a given piece of data.Ú__call__N)rÚgetÚhasattr)ÚkeyÚhooksÚ hook_dataÚkwargsÚhookÚ _hook_datarrrÚ dispatch_hooks    rN)Ú__doc__rr rrrrrÚ s