fixed line length to satisfy travis
This commit is contained in:
parent
a811c84e99
commit
592ee5f839
|
@ -150,8 +150,8 @@ def json(body, status=200, headers=None, **kwargs):
|
||||||
:param headers: Custom Headers.
|
:param headers: Custom Headers.
|
||||||
:param \**kwargs: Remaining arguments that are passed to the json encoder.
|
:param \**kwargs: Remaining arguments that are passed to the json encoder.
|
||||||
"""
|
"""
|
||||||
return HTTPResponse(json_dumps(body, **kwargs), headers=headers, status=status,
|
return HTTPResponse(json_dumps(body, **kwargs), headers=headers,
|
||||||
content_type="application/json")
|
status=status, content_type="application/json")
|
||||||
|
|
||||||
|
|
||||||
def text(body, status=200, headers=None):
|
def text(body, status=200, headers=None):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user