Class: Fluent::PluginHelper::HttpServer::Router::NotFoundApp

Inherits:
Object
  • Object
show all
Defined in:
lib/fluent/plugin_helper/http_server/router.rb

Class Method Summary collapse

Class Method Details

.call(req) ⇒ Object



24
25
26
# File 'lib/fluent/plugin_helper/http_server/router.rb', line 24

def self.call(req)
  [404, { 'Content-Type' => 'text/plain' }, "404 Not Found\n"]
end