diff options
Diffstat (limited to 'examples/stream_modify.py')
-rw-r--r-- | examples/stream_modify.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stream_modify.py b/examples/stream_modify.py index aa395c03..5e5da95b 100644 --- a/examples/stream_modify.py +++ b/examples/stream_modify.py @@ -16,5 +16,5 @@ def modify(chunks): yield chunk.replace("foo", "bar") -def responseheaders(context, flow): +def responseheaders(flow): flow.response.stream = modify |