3 Commits

Author SHA1 Message Date
Mike Terzo
9488e8cb83 Refactor out some global space to allow for testable code
and handling error conditions before flask is completely
initialized.
2017-07-01 03:35:48 -04:00
Mike Terzo
cdedf94506 Remove 204-NoContent, Flask, and Werkzeug no longer provide
public apis to add additional error code exception handling.
2017-03-20 19:47:13 -04:00
Mike Terzo
86488280c9 Test error conditions.
Fix 412 template to use standard styling that the other 400 templates use.
Update forbidden error to return status code 403 instead of 400.

Signed-off-by: Mike Terzo <mike@terzo.org>
2017-01-23 19:53:55 -05:00