function handle(r) -- Set MIME type to text/plain: r.content_type = "text/plain" -- return the "Hello World" text: r:puts("Hello World!") end