diff --git a/sanic/response.py b/sanic/response.py index 645bcaa2..0f4d1356 100644 --- a/sanic/response.py +++ b/sanic/response.py @@ -233,7 +233,8 @@ class HTTPResponse(BaseHTTPResponse): return self._cookies -def json(body, status=200, headers=None, content_type="application/json", **kwargs): +def json(body, status=200, headers=None, + content_type="application/json", **kwargs): """ Returns response object with body in json format. :param body: Response data to be serialized.