On Feb 17, 2009, at 12:29 AM, andres wrote:

I'm using Pylons 0.9.7 StatusCodeRedirect middleware to display custom
error documents and I can't find the original request in the
environment.

Does anybody know how I can access the original request after a status
code redirect?

There was a slight regression in the latest RC. In 0.9.7 final which will be out this week, it will be available in your error controller as environ['pylons.original_request'], and the response will be available as environ['pylons.original_response']. This is also currently in the latest Pylons development code.

Cheers,
Ben

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to