Ticket #127 (closed defect: fixed)
__after__ isn't called during redirects (HTTPExceptions raised)
| Reported by: | novalis | Owned by: | pjenvey |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.9.3 |
| Component: | dispatch/routing | Version: | svn |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Paste needs a redirect_to class method for request. This will be useful for Pylons, because unlike the Pylons redirect_to, it doesn't operate via exceptions. This is good if you want your after method to be called after a redirect.
Pylons should wrap WSGIRequest to allow it accept url_for style arguments. This can't be in paste because paste doesn't know about routes.
Attached are patches which implement these.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.