mirror of https://github.com/tiangolo/fastapi.git
🐛 Fix GZipMiddleware code block linking to TrustedHostMiddleware in docs (#1138)
This commit is contained in:
parent
670b64360d
commit
651ced68bf
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue