Commit ea64ef7e authored by Peter Kowalczyk's avatar Peter Kowalczyk Committed by Simon Charette
Browse files

[1.7.x] Fixed typo in middleware docs.

Function definition should have an ending colon.

Backport of 48241ec9 from master
parent 60375eda
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)