def _create_a_bad_response(content):
    '\n    :param: content (str)\n            The content of the response.\n    :return: A functioning bad REST response instance with the given content.\n    '
    response = Response()
    response.status_code = 400
    if (type(content) is str):
        response._content = bytes(content, 'utf8')
    return response
:param: content (str)
        The content of the response.
:return: A functioning bad REST response instance with the given content.
def _create_a_bad_response(content):
    '\n    :param: content (str)\n            The content of the response.\n    :return: A functioning bad REST response instance with the given content.\n    '
    response = Response()
    response.status_code = 400
    if (type(content) is str):
        response._content = bytes(content, 'utf8')
    return response