Hello,<div><br></div><div>I am working on getting cors support for keystone:</div><div><br></div><div><a href="https://github.com/chmouel/keystone/commit/7df77623223e32fa108a6cd7bfe0548e998c9c4e">https://github.com/chmouel/keystone/commit/7df77623223e32fa108a6cd7bfe0548e998c9c4e</a></div>
<div><br></div><div>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:</div><div><br></div><div><a href="https://gist.github.com/chmouel/4971044">https://gist.github.com/chmouel/4971044</a></div>
<div><br></div><div>Before sending this for reviews I am wondering if was omitted for a reason? .</div><div><br></div><div>Another question, where do we put tests for wsgi.Middleware, is it the middleware that implement the class who does the tests?</div>
<div><br></div><div>Thanks,<br>Chmouel.</div>