Browse Source
🐛 Fix GZipMiddleware code block linking to TrustedHostMiddleware in docs (#1138)
pull/1175/head
Ari Bajo
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
docs/en/docs/advanced/middleware.md
|
|
@ -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: |
|
|
|