def text(body, status=<NUM_LIT:200>, headers=None,<EOL>content_type='<STR_LIT>'):
return HTTPResponse(<EOL>body, status=status, headers=headers,<EOL>content_type=content_type)<EOL>
Returns response object with body in text format.
:param body: Response data to be encoded.
:param status: Response code.
:param headers: Custom Headers.
:param content_type: the content type (string) of the response