Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed typo in middleware docs.

Function definition should have an ending colon.
  • Loading branch information...
commit 48241ec9c4e971042c69fb26a8328f3055eed462 1 parent cd20b5d
@Slix Slix authored charettes committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/http/middleware.txt
View
2  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)
Please sign in to comment.
Something went wrong with that request. Please try again.