local perihelion = require('perihelion') local app = perihelion.new() local function index(web) web.headers = { 'Content-type', 'text/plain' } return web:ok('Hello world!') end app:get('/')({ index }) return app