Module: Falcon::Middleware::BadRequest
- Defined in:
- lib/falcon/middleware/proxy.rb
Overview
A static middleware which always returns a 400 bad request response.
Class Method Summary collapse
Class Method Details
.call(request) ⇒ Object
31 32 33 |
# File 'lib/falcon/middleware/proxy.rb', line 31 def self.call(request) return Protocol::HTTP::Response[400, {}, []] end |
.close ⇒ Object
35 36 |
# File 'lib/falcon/middleware/proxy.rb', line 35 def self.close end |