Lines Matching refs:cookie_str
2473 function buildPayload($data, $cookie_str = '') { argument
2491 if ($cookie_str != '') {
2492 $hdr = 'Cookie: '.$cookie_str;
2506 …$cookie_str = $this->getCookiesForRequest($cookies, (($this->scheme == 'ssl') || ($this->scheme ==…
2509 $this->buildPayload($data, $cookie_str);
2529 if ($cookie_str != '') {
2530 $curl_headers[] = 'Cookie: ' . $cookie_str;
2918 * @param string $cookie_str content of cookie
2925 function parseCookie($cookie_str) { argument
2926 $cookie_str = str_replace('; ', ';', $cookie_str) . ';';
2927 $data = split(';', $cookie_str);
2931 $start = strpos($cookie_str, $cookie_param);
2933 $domain = substr($cookie_str, $start + strlen($cookie_param));
2940 $start = strpos($cookie_str, $cookie_param);
2942 $expires = substr($cookie_str, $start + strlen($cookie_param));
2949 $start = strpos($cookie_str, $cookie_param);
2951 $path = substr($cookie_str, $start + strlen($cookie_param));
2958 if (strpos($cookie_str, $cookie_param) !== FALSE) {
2990 $cookie_str = '';
3021 $cookie_str .= $cookie['name'] . '=' . $cookie['value'] . '; ';
3025 return $cookie_str;