Class: HTTPkit::Server::MandatoryHandler
- Inherits:
-
Object
- Object
- HTTPkit::Server::MandatoryHandler
- Defined in:
- lib/httpkit/server/mandatory_handler.rb
Constant Summary collapse
Instance Method Summary collapse
Instance Method Details
#respond(request, response) {|request, response.with_headers(missing_headers(response))| ... } ⇒ Object
9 10 11 |
# File 'lib/httpkit/server/mandatory_handler.rb', line 9 def respond(request, response) yield request, response.with_headers(missing_headers(response)) end |