def create_response(status_code, status_description="", body=""):
    """Configure a response JSON object."""
    response = {"isBase64Encoded": False, "headers": {"Content-Type": "text/html;"}}

    if not status_description:
        description = {
            200: "200 OK",
            400: "400 Bad Request",
            401: "401 Unauthorized",
            405: "405 Method Not Allowed",
            500: "500 Internal Server Error",
        }
        status_description = description.get(status_code)

    response["statusCode"] = status_code
    response["statusDescription"] = status_description
    response["body"] = body

    return response