Updated json function docstrings to be more consistent.
This commit is contained in:
parent
2b10860c32
commit
a486fb99a9
|
@ -140,7 +140,7 @@ class HTTPResponse:
|
||||||
|
|
||||||
def json(body, status=200, headers=None):
|
def json(body, status=200, headers=None):
|
||||||
"""
|
"""
|
||||||
Returns serialized python object to json format.
|
Returns body in json format.
|
||||||
:param body: Response data to be serialized.
|
:param body: Response data to be serialized.
|
||||||
:param status: Response code.
|
:param status: Response code.
|
||||||
:param headers: Custom Headers.
|
:param headers: Custom Headers.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user