def proxy_reponse(body, content_type=None):
    """
    Convert HTML to API Gateway response.

    :param str body: HTML body
    :return dict: API Gateway Lambda proxy response
    """
    content_type = content_type or 'text/html'
    # Wrap HTML in proxy response object
    res = {
        'body': body,
        'statusCode': 200,
        'headers': {
            'content-length': len(body),
            'content-type': f'{content_type}; charset=utf-8',
        },
    }
    return res