Fix function name in event hooks docs (#1290)

This commit is contained in:
Stephen Brown II 2020-09-15 19:45:20 -06:00 committed by GitHub
parent feb404f86b
commit a394df59da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -265,7 +265,7 @@ the installed hooks.
```python
client = httpx.Client()
client.event_hooks['request'] = [log_request]
client.event_hooks['response'] = [log_response, raise_for_status]
client.event_hooks['response'] = [log_response, raise_on_4xx_5xx]
```
!!! note