'This method returns a string representation of the cookie Object.
:return: string representation of the cookie object.'

def __str__(self):

    cookie_pairs = []
    for token in self.iter_tokens():
        ks = self._sanitize(str(token.get_name()))
        vs = self._sanitize(str(token.get_value()))
        cookie_pairs.append(('%s=%s' % (ks, vs)))
    return ';    '.join(cookie_pairs)
