Lines Matching defs:cookie
103 /* A dictionary containing cookies keyed by cookie name */
966 // ensure the cookie is parsable
970 // if there is no cookie value there is nothing to parse
977 // ensure the cookie is not expired or older than an existing value
983 // if the cookie has already expired ignore it
989 // only replace an older cookie with the same name
1012 // duplicate the cookie name (dict will dupe the value)
1016 // add the cookie to the dictionary
1230 * Create a string containing cookie values for use as a HTTP cookie header
1231 * field value for a particular path and domain from the cookie values stored in
1232 * the HTTP protocol context. The cookie string is stored in *cookies, and may
1240 // cookie strings will look like Set-Cookie header field values. Multiple
1243 char *cookie, *set_cookies, *next;
1257 while ((cookie = av_strtok(next, "\n", &saveptr)) && !ret) {
1262 // store the cookie in a dict in case it is updated in the response
1263 if (parse_cookie(s, cookie, &s->cookie_dict))
1264 av_log(s, AV_LOG_WARNING, "Unable to parse '%s'\n", cookie);
1266 // continue on to the next cookie if this one cannot be parsed
1267 if (parse_set_cookie(cookie, &cookie_params))
1270 // if the cookie has no value, skip it
1275 // if the cookie has expired, don't add it
1284 // if no domain in the cookie assume it appied to this request
1291 // match the cookie domain
1296 // ensure this cookie matches the path
1301 // cookie parameters match, so copy the value
1361 // add any new cookies into the existing cookie string