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