mirror of
https://github.com/fastapi/fastapi.git
synced 2026-10-21 17:35:26 -04:00
🐛 Fix GZipMiddleware code block linking to TrustedHostMiddleware in docs (#1138)
This commit is contained in:
1 parent
670b64360d
commit
651ced68bf
1 file changed
+2
-2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user