module Roda::RodaPlugins::RunHandler::RequestMethods

def run(app, opts=OPTS)

routing normally.
returned by the app is a 404 response, do not return the response, continue
If the not_found: :pass option is given, and the rack response

be modified before it is returned by the current app.
If a block is given, yield the rack response array to it. The response can
def run(app, opts=OPTS)
  res = catch(:halt){super(app)}
  yield res if block_given?
  throw(:halt, res) unless opts[:not_found] == :pass && res[0] == 404
end