Home
last modified time | relevance | path

Searched refs:cookies (Results 1 – 25 of 190) sorted by relevance

12345678

/third_party/python/Lib/test/
Dtest_http_cookies.py6 from http import cookies
54 C = cookies.SimpleCookie()
62 C = cookies.SimpleCookie()
89 C = cookies.SimpleCookie()
96 C = cookies.SimpleCookie('Customer="WILE_E_COYOTE"')
102 C = cookies.SimpleCookie()
106 C = cookies.SimpleCookie()
112 C = cookies.SimpleCookie('Customer="WILE_E_COYOTE"')
118 C = cookies.SimpleCookie('Customer="WILE_E_COYOTE"')
128 C = cookies.SimpleCookie('Customer="WILE_E_COYOTE"')
[all …]
/third_party/python/Doc/library/
Dhttp.cookiejar.rst5 :synopsis: Classes for automatic handling of HTTP cookies.
15 cookies. It is useful for accessing web sites that require small pieces of data
16 -- :dfn:`cookies` -- to be set on the client machine by an HTTP response from a
21 :rfc:`2109` cookies are parsed as Netscape cookies and subsequently treated
22 either as Netscape or RFC 2965 cookies according to the 'policy' in effect.
23 Note that the great majority of cookies on the internet are Netscape cookies.
44 cookies from a file. :exc:`LoadError` is a subclass of :exc:`OSError`.
58 The :class:`CookieJar` class stores HTTP cookies. It extracts cookies from HTTP
60 automatically expire contained cookies when necessary. Subclasses are also
61 responsible for storing and retrieving cookies from a file or database.
[all …]
Dhttp.cookies.rst1 :mod:`http.cookies` --- HTTP state management
4 .. module:: http.cookies
5 :synopsis: Support for HTTP state management (cookies).
10 **Source code:** :source:`Lib/http/cookies.py`
14 The :mod:`http.cookies` module defines classes for abstracting the concept of
15 cookies, an HTTP state management mechanism. It supports both simple string-only
16 cookies, and provides an abstraction for having any serializable data-type as
66 :mod:`http.cookies` modules do not depend on each other.
245 The following example demonstrates how to use the :mod:`http.cookies` module.
250 >>> from http import cookies
[all …]
/third_party/cef/tests/ceftests/
Dcookie_unittest.cc95 TestVisitor(CookieVector* cookies, in TestVisitor() argument
98 : cookies_(cookies), in TestVisitor()
128 const CookieVector& cookies, in SetCookies() argument
131 CookieVector::const_iterator it = cookies.begin(); in SetCookies()
132 for (; it != cookies.end(); ++it) { in SetCookies()
171 CookieVector cookies; in CreateCookie() local
172 cookies.push_back(cookie); in CreateCookie()
174 SetCookies(manager, kTestUrl, cookies, true, event); in CreateCookie()
181 CookieVector& cookies, in VisitUrlCookies() argument
186 new TestVisitor(&cookies, deleteCookies, std::move(callback)))); in VisitUrlCookies()
[all …]
/third_party/curl/docs/
DHTTP-COOKIES.md7 requests to the same domains and paths for which the cookies were set.
9 Cookies are either "session cookies" which typically are forgotten when the
11 the cookies are not session cookies they have expiration dates after which
17 For a long time, the only spec explaining how to use cookies was the
21 published and details how cookies work within HTTP. In 2016, an update which
26 to deprecate modification of 'secure' cookies from non-secure origins. Both
33 will allow and use cookies marked with the `secure` keyword even when done
35 work with secure cookies.
39 Netscape once created a file format for storing cookies on disk so that they
41 sharing the cookies with browsers, only to see browsers move away from that
[all …]
/third_party/curl/lib/
Dcookie.c338 Curl_cookie_init(data, list->data, data->cookies, in Curl_cookie_loadfiles()
347 data->cookies = newcookies; in Curl_cookie_loadfiles()
382 static void remove_expired(struct CookieInfo *cookies) in remove_expired() argument
396 if(now < cookies->next_expiration && in remove_expired()
397 cookies->next_expiration != CURL_OFF_T_MAX) in remove_expired()
400 cookies->next_expiration = CURL_OFF_T_MAX; in remove_expired()
404 co = cookies->cookies[i]; in remove_expired()
409 cookies->cookies[i] = co->next; in remove_expired()
414 cookies->numcookies--; in remove_expired()
422 if(co->expires && co->expires < cookies->next_expiration) in remove_expired()
[all …]
Dshare.c84 if(!share->cookies) { in curl_share_setopt()
85 share->cookies = Curl_cookie_init(NULL, NULL, NULL, TRUE); in curl_share_setopt()
86 if(!share->cookies) in curl_share_setopt()
149 if(share->cookies) { in curl_share_setopt()
150 Curl_cookie_cleanup(share->cookies); in curl_share_setopt()
151 share->cookies = NULL; in curl_share_setopt()
231 Curl_cookie_cleanup(share->cookies); in curl_share_cleanup()
Dcookie.h57 struct Cookie *cookies[COOKIE_HASH_SIZE]; member
118 void Curl_cookie_freelist(struct Cookie *cookies);
119 void Curl_cookie_clearall(struct CookieInfo *cookies);
120 void Curl_cookie_clearsess(struct CookieInfo *cookies);
/third_party/curl/docs/cmdline-opts/
Djunk-session-cookies.d3 Long: junk-session-cookies
5 Help: Ignore session cookies read from file
9 Example: --junk-session-cookies -b cookies.txt $URL
13 When curl is told to read cookies from a given file, this option makes it
15 started. Typical browsers discard session cookies when they are closed down.
Dcookie-jar.d7 Help: Write cookies to <filename> after operation
15 Specify to which file you want curl to write all cookies after a completed
16 operation. Curl writes all cookies from its in-memory cookie storage to the
17 given file at the end of operations. If no cookies are known, no data is
19 the file name to a single dash, "-", the cookies are written to stdout.
21 The file specified with --cookie-jar is only used for output. No cookies are
22 read from the file. To read cookies, use the --cookie option. Both options
26 and use cookies. The --cookie option also activates it.
Dcookie.d7 Help: Send cookies from string/file
11 See-also: cookie-jar junk-session-cookies
24 engine which makes curl record incoming cookies, which may be handy if you are
29 The file format of the file to read cookies from should be plain HTTP headers
32 The file specified with --cookie is only used as input. No cookies are written
33 to the file. To store cookies, use the --cookie-jar option.
40 Users often want to both read cookies from a file and write updated cookies
/third_party/curl/tests/data/
Dtest11516 cookies
13 # reject cookies with too long name (instead of capping)
39 HTTP with too long cookies
42 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c %LOGDIR/cookies%TESTNUMBER.txt
45 cookies
58 <file name="%LOGDIR/cookies%TESTNUMBER.txt" mode="text">
60 # https://curl.se/docs/http-cookies.html
Dtest19035 cookies
36 http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER %LOGDIR/cookies%TESTNUMBER %LOGDIR/cookiesout%TESTNUMB…
39 cookies
41 <file name="%LOGDIR/cookies%TESTNUMBER" mode="text">
43 # https://curl.se/docs/http-cookies.html
55 # https://curl.se/docs/http-cookies.html
Dtest11616 cookies
31 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c %LOGDIR/cookies%TESTNUMBER.txt
34 cookies
47 <file name="%LOGDIR/cookies%TESTNUMBER.txt" mode="text">
49 # https://curl.se/docs/http-cookies.html
Dtest11556 cookies
31 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c %LOGDIR/cookies%TESTNUMBER.txt
34 cookies
47 <file name="%LOGDIR/cookies%TESTNUMBER.txt" mode="text">
49 # https://curl.se/docs/http-cookies.html
Dtest3276 cookies
43 HTTP with cookiejar without cookies left
46 http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b none -c %LOGDIR/cookies%TESTNUMBER http://%HOSTIP:%…
49 cookies
68 <file name="%LOGDIR/cookies%TESTNUMBER" mode="text">
70 # https://curl.se/docs/http-cookies.html
Dtest9776 cookies
30 cookies
40 -x http://%HOSTIP:%HTTPPORT http://firsthost.me. -c %LOGDIR/cookies%TESTNUMBER
55 <file name="%LOGDIR/cookies%TESTNUMBER" mode="text">
57 # https://curl.se/docs/http-cookies.html
Dtest19055 cookies
36 http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER %LOGDIR/cookies%TESTNUMBER
39 cookies
51 <file name="%LOGDIR/cookies%TESTNUMBER" mode="text">
53 # https://curl.se/docs/http-cookies.html
Dtest1726 cookies
27 HTTP with cookies file and custom added cookie
34 # https://curl.se/docs/http-cookies.html
42 cookies
Dtest736 cookies
29 HTTP, receive cookies when using custom Host:, domain using only two dots
35 cookies
50 # https://curl.se/docs/http-cookies.html
Dtest10247 cookies
21 This server reply is for testing a Location: following with cookies
32 This server reply is for testing a Location: following with cookies
75 HTTP Location: following with cookies
81 cookies
/third_party/cef/patch/patches/
Dservices_network_2622.patch44 diff --git net/cookies/cookie_monster.cc net/cookies/cookie_monster.cc
46 --- net/cookies/cookie_monster.cc
47 +++ net/cookies/cookie_monster.cc
74 diff --git net/cookies/cookie_monster.h net/cookies/cookie_monster.h
76 --- net/cookies/cookie_monster.h
77 +++ net/cookies/cookie_monster.h
85 // Enables writing session cookies into the cookie database. If this this
87 diff --git net/cookies/cookie_store.h net/cookies/cookie_store.h
89 --- net/cookies/cookie_store.h
90 +++ net/cookies/cookie_store.h
[all …]
/third_party/node/deps/undici/src/lib/fetch/
Dheaders.js72 cookies = null field in HeadersList
78 this.cookies = init.cookies
98 this.cookies = null
122 this.cookies ??= [] property
123 this.cookies.push(value)
133 this.cookies = [value] property
150 this.cookies = null
400 const list = this[kHeadersList].cookies
422 const cookies = this[kHeadersList].cookies
433 for (const value of cookies) {
/third_party/curl/docs/examples/
Dcookie_interface.c41 struct curl_slist *cookies; in print_cookies() local
46 res = curl_easy_getinfo(curl, CURLINFO_COOKIELIST, &cookies); in print_cookies()
52 nc = cookies; in print_cookies()
62 curl_slist_free_all(cookies); in print_cookies()
/third_party/node/test/parallel/
Dtest-http-proxy.js28 const cookies = [ variable
34 'set-cookie': cookies,
55 assert.deepStrictEqual(proxy_res.headers['set-cookie'], cookies);
86 assert.deepStrictEqual(res.headers['set-cookie'], cookies);

12345678