def response(flow): flow.response.headers["newheader"] = "foo"