aboutsummaryrefslogtreecommitdiffstats
path: root/examples/add_header.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/add_header.py')
-rw-r--r--examples/add_header.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/add_header.py b/examples/add_header.py
index 0c0593d1..b9c8c1c6 100644
--- a/examples/add_header.py
+++ b/examples/add_header.py
@@ -1,2 +1,2 @@
-def response(context, flow):
- flow.response.headers["newheader"] = ["foo"]
+def response(ctx, flow):
+ flow.response.headers["newheader"] = ["foo"] \ No newline at end of file