aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simple/add_header_class.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple/add_header_class.py')
-rw-r--r--examples/simple/add_header_class.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/simple/add_header_class.py b/examples/simple/add_header_class.py
index 9270be09..69b64163 100644
--- a/examples/simple/add_header_class.py
+++ b/examples/simple/add_header_class.py
@@ -3,5 +3,5 @@ class AddHeader:
flow.response.headers["newheader"] = "foo"
-def start(opts):
- return AddHeader()
+def load(l):
+ return l.boot_into(AddHeader())