diff options
| author | Peter Kowalczyk <slixpk@gmail.com> | 2014-06-24 13:16:53 -0500 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2014-06-24 16:06:06 -0400 |
| commit | 48241ec9c4e971042c69fb26a8328f3055eed462 (patch) | |
| tree | ad14734bbf6abe98d92c09a3c8830676422d98e7 /docs | |
| parent | cd20b5d1864e3c0f2d9ce8b9d186c201e5d89c00 (diff) | |
Fixed typo in middleware docs.
Function definition should have an ending colon.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/http/middleware.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/http/middleware.txt b/docs/topics/http/middleware.txt index 9335ecc12a..f9d894f517 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) |
