🐛 Fix GZipMiddleware code block linking to TrustedHostMiddleware in docs (#1138)

This commit is contained in:
Ari Bajo
2020-03-27 17:27:57 +01:00
committed by GitHub
parent 670b64360d
commit 651ced68bf

View File

@@ -78,8 +78,8 @@ Handles GZip responses for any request that includes `"gzip"` in the `Accept-Enc
The middleware will handle both standard and streaming responses.
```Python hl_lines="2 6 7 8"
{!../../../docs_src/advanced_middleware/tutorial002.py!}
```Python hl_lines="2 6"
{!../../../docs_src/advanced_middleware/tutorial003.py!}
```
The following arguments are supported: