summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/http/middleware.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/http/middleware.txt b/docs/topics/http/middleware.txt
index a2b71dc664..308cbbf0a9 100644
--- a/docs/topics/http/middleware.txt
+++ b/docs/topics/http/middleware.txt
@@ -223,7 +223,7 @@ must test for streaming responses and adjust their behavior accordingly::
Response middleware may wrap it in a new generator, but must not consume
it. Wrapping is typically implemented as follows::
- def wrap_streaming_content(content)
+ def wrap_streaming_content(content):
for chunk in content:
yield alter_content(chunk)