Skip to content
Myr

Fix function name in event hooks docs (#1290)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Stephen Brown II · committed by GitHub · parent feb404f · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/advanced.md+1 added-1 removed
263 unmodified lines
264265```python266client = httpx.Client()267client.event_hooks['request'] = [log_request]268client.event_hooks['response'] = [log_response, raise_for_status]268client.event_hooks['response'] = [log_response, raise_on_4xx_5xx]269```270271!!! note272 If you are using HTTPX's async support, then you need to be aware that
787 unmodified lines