basho/webmachine — pull request #48 by argv0 (2011-11-28 19:05:46+00:00)
Title: Redirection support via rewrite_module configuration option

Basic support for path redirection via a {webmachine, rewrite_module} configuration option:

rewrite_module should export a single function, rewrite/2 with the following signature:

rewrite(Headers::mochiweb_headers(), Path::string()) -> NewPath::string().