diff --git a/sanic/__version__.py b/sanic/__version__.py index 1ee6f1d7..62c52073 100644 --- a/sanic/__version__.py +++ b/sanic/__version__.py @@ -1 +1 @@ -__version__ = "21.12.1" +__version__ = "21.12.2" diff --git a/sanic/mixins/routes.py b/sanic/mixins/routes.py index 588d7046..5a4d6229 100644 --- a/sanic/mixins/routes.py +++ b/sanic/mixins/routes.py @@ -16,7 +16,7 @@ from sanic.base.meta import SanicMeta from sanic.compat import stat_async from sanic.constants import DEFAULT_HTTP_CONTENT_TYPE, HTTP_METHODS from sanic.errorpages import RESPONSE_MAPPING -from sanic.exceptions import FileNotFound, HeaderNotFound, RangeNotSatisfiable +from sanic.exceptions import ContentRangeError, FileNotFound, HeaderNotFound from sanic.handlers import ContentRangeHandler from sanic.log import deprecation, error_logger from sanic.models.futures import FutureRoute, FutureStatic