module Roda::RodaPlugins::Base::RequestMethods

def block_result(result)

and the response is empty, use the string as the response body.
Handle match block return values. By default, if a string is given
def block_result(result)
  res = response
  if res.empty? && (body = block_result_body(result))
    res.write(body)
  end
end