From f8a6af1e28c21d47617183b479d4be8adbd710bf Mon Sep 17 00:00:00 2001 From: Igor Hatarist Date: Tue, 25 Sep 2018 20:46:40 +0300 Subject: [PATCH] Rename the `http` module to `helpers` to prevent conflicts with the built-in Python http library (fixes #1323) --- sanic/exceptions.py | 2 +- sanic/{http.py => helpers.py} | 0 sanic/response.py | 10 +++++----- 3 files changed, 6 insertions(+), 6 deletions(-) rename sanic/{http.py => helpers.py} (100%) diff --git a/sanic/exceptions.py b/sanic/exceptions.py index 25dbd47d..e90dff7a 100644 --- a/sanic/exceptions.py +++ b/sanic/exceptions.py @@ -1,4 +1,4 @@ -from sanic.http import STATUS_CODES +from sanic.helpers import STATUS_CODES TRACEBACK_STYLE = '''