From 651ced68bf68f71152f4a61eebc65ccd10d3ca46 Mon Sep 17 00:00:00 2001 From: Ari Bajo Date: Fri, 27 Mar 2020 17:27:57 +0100 Subject: [PATCH] :bug: Fix GZipMiddleware code block linking to TrustedHostMiddleware in docs (#1138) --- docs/en/docs/advanced/middleware.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/docs/advanced/middleware.md b/docs/en/docs/advanced/middleware.md index 4db8af275..6e28940c1 100644 --- a/docs/en/docs/advanced/middleware.md +++ b/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: