def set_cookie(request_uri, cookie_header_values)
      cookie_header_values.split(/, (?=[\w]+=)/).each do |cookie_header_value|
        cookie = Cookie.from_set_cookie request_uri, cookie_header_value
        add_cookie cookie
      end
    end
def set_cookie(request_uri, cookie_header_values)
      cookie_header_values.split(/, (?=[\w]+=)/).each do |cookie_header_value|
        cookie = Cookie.from_set_cookie request_uri, cookie_header_value
        add_cookie cookie
      end
    end
Create a new empty Jar
 Given a request URI and a literal Set-Cookie header value, attempt to
 add the cookie(s) to the cookie store.

 @param [String, URI] request_uri the resource returning the header
 @param [String] cookie_header_value the contents of the Set-Cookie
 @return [Cookie] which was created and stored
 @raise [InvalidCookieError] if the cookie header did not validate