

def render_html(content, request):
    'Take string and return text/html response.\n\n    :param content: contnet as returned from view function.\n    :param request: a :class:`morepath.Request` instance.\n    :return: a :class:`morepath.Response` instance with ``content``\n      as the body.\n    '
    return Response(content, content_type='text/html')

dataset/ETHPy150Open morepath/morepath/morepath/view.py render_html/original