Browse Source

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

pull/1175/head
Ari Bajo 5 years ago
committed by GitHub
parent
commit
651ced68bf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/en/docs/advanced/middleware.md

4
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:

Loading…
Cancel
Save