'Updates this jar with cookies from another CookieJar or dict-like'

def update(self, other):

    if isinstance(other, cookielib.CookieJar):
        for cookie in other:
            self.set_cookie(copy.copy(cookie))
    else:
        super(RequestsCookieJar, self).update(other)
