lib/protocol/http/middleware.rb in protocol-http-0.23.4 vs lib/protocol/http/middleware.rb in protocol-http-0.23.5

- old
+ new

@@ -65,8 +65,17 @@ def self.call(request) Response[200, Headers['content-type' => 'text/plain'], ["Hello World!"]] end end + + module NotFound + def self.close + end + + def self.call(request) + Response[404, Headers[], []] + end + end end end end