_path = _path.substring(0,index-1);
_path = _path.substring(0,index);
    public Cookie(Date date, HttpUrl url, String setHeader) {        _date = date;        _domain = url.getHost();        _path = url.getPath();        int index = _path.lastIndexOf("/");        if (index > 0) {            _path = _path.substring(0,index-1);        } else {            _path = "/";        }        parseHeader(setHeader);        _key = _domain + _path + " " + _name;    }