[openstack-dev] [Keystone] exceptions on wsgi.middlewarrs

Chmouel Boudjnah chmouel at chmouel.com
Sun Feb 17 11:36:10 UTC 2013


Hello,

I am working on getting cors support for keystone:

https://github.com/chmouel/keystone/commit/7df77623223e32fa108a6cd7bfe0548e998c9c4e

and I am trying to use exception.Unauthorized instead of having to setup my
401/reason in my responses but this patch seems needed like we already do
in wsgi.Applications:

https://gist.github.com/chmouel/4971044

Before sending this for reviews I am wondering if was omitted for a
reason? .

Another question, where do we put tests for wsgi.Middleware, is it the
middleware that implement the class who does the tests?

Thanks,
Chmouel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130217/16bb4e64/attachment.html>


More information about the OpenStack-dev mailing list