require "./handler" module Guff class TestHandler < Handler def call(context : HTTP::Server::Context) if ((context.request.path || "").match(/^\/test\//)) context.response.content_type = "text/html" context.response.puts "test" else call_next(context) end end end end