From 85b1c080aa00ae519e69acd516846a3d8b79b1ed Mon Sep 17 00:00:00 2001 From: David Tan Date: Thu, 19 Oct 2017 19:23:46 -0400 Subject: [PATCH] Revert "Revert "Replaced COMMON_STATUS_CODES with a simple 200 check for more fast"" This reverts commit d8df095 --- sanic/exceptions.py | 5 ++--- sanic/response.py | 26 +++++++++----------------- 2 files changed, 11 insertions(+), 20 deletions(-) diff --git a/sanic/exceptions.py b/sanic/exceptions.py index e2d808f7..aa1e0d4d 100644 --- a/sanic/exceptions.py +++ b/sanic/exceptions.py @@ -1,4 +1,4 @@ -from sanic.response import ALL_STATUS_CODES, COMMON_STATUS_CODES +from sanic.response import STATUS_CODES TRACEBACK_STYLE = '''