bennihepp/pyramid_rewrite — pull request #1 by mmerickel (2012-03-11 21:25:15+00:00)
Title: refactored the module to use a tween

The problem with an addon like this using a NewRequest subscriber is that
you have no control over when the subscriber is executed in relation to
other NewRequest subscribers. Adding it as a tween helps to ensure that
your tween is executed before the application's logic.