Skip to content

Instantly share code, notes, and snippets.

@Larivact
Last active August 29, 2015 14:28
Show Gist options
  • Save Larivact/af589a5b24e6bff21719 to your computer and use it in GitHub Desktop.
Save Larivact/af589a5b24e6bff21719 to your computer and use it in GitHub Desktop.

#Middleware included in Rack

Name Description
URLMap to route to multiple applications inside the same process.
CommonLogger for creating Apache-style logfiles.
ShowExceptions for catching unhandled exceptions and presenting them in a nice and helpful way with clickable backtrace.
File for serving static files.
Static intercepts requests for static files
Deflater enables compression of http responses.
Lint validates application, requests and responses according to the Rack spec.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment