@classmethod
def delete_cookie(cls, message, key, path='/', domain=None):
    """
        Deletes a cookie in a response.
        """
    return cls.set_cookie(message, key, max_age=0, path=path, domain=domain,
        expires='Thu, 01-Jan-1970 00:00:00 GMT')
