ib-lundgren/flask-oauthprovider — pull request #7 by datalogics-kam (2013-05-22 23:14:39+00:00)
Title: Instead of returning response objects, raise errors.

Some wrapping decorators (like mimerender) expect dicts, not response
objects.

Raising exceptions for HTTP error responses avoids quirks of the
applications. (This is also what flask.abort() eventually does).