Secures requests by only allowing a whitelist of Host values
Allows events to be registered and passed through middleware.
Handles internal change detection via etag / ifmodifiedsince headers, conditonally sending a 304 not modified if possible.
Display execution metricts for the current request if in dev mode and execmetric is provided as a request variable.
Triggers a call to flush() on all implementors of Flushable.
Adds middleware support to an object.
Decorates a request handler with the HTTP Middleware pattern
This middleware will rewrite headers that provide IP and host details from an upstream proxy.


HTTP Request middleware Based on