I thought that StatusCodeRedirect returns 301 or 302 and url /error/
document?code=404. I've tested the middleware and it works as I want:
it returns 404 and the page like www.google.com.

This was my mistake, sorry for that.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to