Thought so. 

Steal this: https://github.com/mozilla/socorro/blob/master/socorro/middleware/middleware_app.py#L207