This should be fixed in Beaker I think. Ben? Nick Murphy wrote: > Hi All, > > I stumbled upon a bug in Beaker when raising webob.exc.HTTPFound. The > offending line in Beaker is middleware.py:155. It's caused because the > header attribute of a WebOb WSGIHTTPException is a MultiDict (by way of > inheritance from Response), whereas it's a list in Paste. > > Anyway, I'd submit a patch but I wasn't sure what the best solution > would be. Obviously it's not desirable to be testing the exception > class name against a string, and it should probably accommodate any > subclass of HTTPRedirection. In lieu of that, though, maybe we should > just check whether the exception is list-like or dict-like, and act > accordingly? > > Regards, > Nick > > > _______________________________________________ > Paste-users mailing list > [EMAIL PROTECTED] > http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
