./www/ruby-http_router, Kick-ass HTTP router for use in Rack

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2013Q1, Version: 0.10.2, Package name: ruby193-http_router-0.10.2, Maintainer: pkgsrc-users

# HTTP Router

## What is it?

This is an HTTP router for use in either a web framework, or on it's own using
Rack. It takes a set of routes and attempts to find the best match for
it. Take a look at the examples directory for how you'd use it in the Rack
context.

## Features

* Ordered route resolution.
* Supports variables, and globbing, both named and unnamed.
* Regex support for variables.
* Request condition support.
* Partial matches.
* Supports interstitial variables (e.g.
/my-:variable-brings.all.the.boys/yard) and unnamed variable /one/:/two
* Very fast and small code base (~1,000 loc).
* Sinatra via https://github.com/joshbuddy/http_router_sinatra


Required to run:
[www/ruby-url_mount]

Master sites: (Expand)

SHA1: 6915567ec42c411e35a12a0807abb825d792f755
RMD160: 3595b8c7a779cada03a5fb62199635e2220e9bea
Filesize: 152.5 KB

Version history: (Expand)