def hc_response() -> str:
    """Generate a health check response."""
    response = 'HTTP/1.1 200 OK\n'
    response_body = 'Healthy'

    # print('sending healthcheck')

    response_headers = {
        'Content-Type': 'text/html; encoding=utf8',
        'Content-Length': len(response_body),
        'Connection': 'close',
    }

    response += ''.join(f'{k}: {v}\n' for k, v in response_headers.items())
    response += f'\n{response_body}'
    return response