Lines Matching refs:cookies
19 cookiejar.getCookies('http://example.com/otherpath',function(err,cookies) {
20 res.headers['cookie'] = cookies.join('; ');
30 Why the name? NPM modules `cookie`, `cookies` and `cookiejar` were already taken.
84 …ame upon which a cookie can be set. Returns `null` if the hostname cannot have cookies set for it.
92 For use with `.sort()`, sorts a list of cookies into the recommended order given in the RFC (Sectio…
99 var cookies = [ /* unsorted array of Cookie objects */ ];
100 cookies = cookies.sort(cookieCompare);
103 …cookies within the same milisecond are entirely possible. This is especially true when using the `…
124 …* _loose_ - boolean - if `true` enable parsing of key-less cookies like `=abc` and `=`, which are …
132 cookies = res.headers['set-cookie'].map(Cookie.parse);
134 cookies = [Cookie.parse(res.headers['set-cookie'])];
199 The "number" `Infinity` is returned for cookies without an explicit expiry and `0` is returned if t…
252 …* _rejectPublicSuffixes_ - boolean - default `true` - reject cookies with domains like "com" and "…
253 …* _looseMode_ - boolean - default `false` - accept malformed cookies like `bar` and `=bar`, which …
264 …boolean - default `true` - indicates if this is an HTTP or non-HTTP API. Affects HttpOnly cookies.
266 * _now_ - Date - default `new Date()` - what to use for the creation/access time of cookies
275 ### `.getCookies(currentUrl, [{options},] cb(err,cookies))`
277 Retrieve the list of cookies that can be sent in a Cookie header for the current url.
283 …boolean - default `true` - indicates if this is an HTTP or non-HTTP API. Affects HttpOnly cookies.
285 * _now_ - Date - default `new Date()` - what to use for the creation/access time of cookies
286 …piry-time checking of cookies and asynchronously remove expired cookies from the store. Using `fa…
287 …* _allPaths_ - boolean - default `false` - if `true`, do not scope cookies by path. The default us…
289 The `.lastAccessed` property of the returned cookies will have been updated.
375 …path and key (a.k.a. name). The RFC maintains that exactly one of these cookies should exist in a…
379 ### `store.findCookies(domain, path, cb(err,cookies))`
381 Locates cookies matching the given domain and path. This is most often called in the context of `c…
383 If no cookies are found, the callback MUST be passed an empty array.
385 …ting this method. However, the search algorithm used SHOULD try to find cookies that `domainMatch…
401 … ignore or defer the `.lastAccessed` change at the cost of affecting how cookies are selected for …
417 Removes matching cookies from the store. The `path` parameter is optional, and if missing means al…
419 Pass an error ONLY if removing any existing cookies failed.
421 ### `store.getAllCookies(cb(err, cookies))`
423 Produces an `Array` of all cookies during `jar.serialize()`. The items in the array can be true `Co…
425 … since it uses true `Cookie` objects internally. If you don't return the cookies in creation order…
463 cookies: [