twisted/klein — pull request #20 by cscutcher (2013-07-08 19:34:36+00:00)
Title: Modified KleinResource.render to allow custom exception handling behaviour from mapper.match

We love the library but wanted to add custom exception handling behavior for when mapper.match raises a redirect or other exception.
With this patch we can, in our code, inherit KleinResource and implement our own handle_match_exception.
This was the simplest way I could think to implement this while still preserving current behavior.