<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_request(profile, resource):
 """Do a DELETE request to Github's API. Args: profile A profile generated from ``simplygithub.authentication.profile``. Such profiles tell this module (i) the ``repo`` to connect to, and (ii) the ``token`` to connect with. resource Returns: The response returned by the ``requests`` library when it does the POST request. """

    url = get_url(profile, resource)
    headers = get_headers(profile)
    return requests.delete(url, headers=headers)