basho/webmachine — pull request #101 by jrwest (2012-11-13 05:39:12+00:00)
Title: pass method,scheme,http vsn into rewrite

changed `rewrite/2` to `rewrite/5`, taking additionally the HTTP Method, scheme and HTTP version. These values cannot be rewritten (the return value of the function has not changed) but they may be used when determining the rewritten headers and path.