> Nick, if you'd like to take a stab at a patch, the solution I'd go for  
> is to further test the HTTPFound object to determine if its from  
> webob, or from paste, and use the appropriate header insertion  
> technique.

That's what I ended up doing, which did the trick.  Still, I tend to
agree that Beaker shouldn't be fiddling with exceptions, regardless of
their type.  Also, even if an HTTPException weren't turned into a WSGI
response before hitting the middleware, we can't assume how the other
layers will handle it, so any changes to its headers are very possibly
pointless.  So yeah, I'm in favor of nixing this special case, but if
you'd like my patch, I'd be more than happy to send it.

Cheers,
Nick


_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users

Reply via email to