/external/curl/docs/cmdline-opts/ |
junk-session-cookies.d | 1 Long: junk-session-cookies 3 Help: Ignore session cookies read from file 7 When curl is told to read cookies from a given file, this option will make it 8 discard all "session cookies". This will basically have the same effect as if 9 a new session is started. Typical browsers always discard session cookies when
|
cookie-jar.d | 5 Help: Write cookies to <filename> after operation 7 Specify to which file you want curl to write all cookies after a completed 8 operation. Curl writes all cookies from its in-memory cookie storage to the 9 given file at the end of operations. If no cookies are known, no data will be 11 you set the file name to a single dash, "-", the cookies will be written to 15 record and use cookies. Another way to activate it is to use the --cookie
|
cookie.d | 5 Help: Send cookies from string/file 13 engine which will make curl record incoming cookies, which may be handy if 17 The file format of the file to read cookies from should be plain HTTP headers 20 The file specified with --cookie is only used as input. No cookies will be 21 written to the file. To store cookies, use the --cookie-jar option. 34 Users very often want to both read cookies from a file and write updated 35 cookies back to a file, so using both --cookie and --cookie-jar in the same
|
/prebuilts/go/darwin-x86/src/net/http/ |
jar.go | 11 // A CookieJar manages storage and use of cookies in HTTP requests. 18 // SetCookies handles the receipt of the cookies in a reply for the 19 // given URL. It may or may not choose to save the cookies, depending 21 SetCookies(u *url.URL, cookies []*Cookie) 23 // Cookies returns the cookies to send in a request for the given URL. 26 Cookies(u *url.URL) []*Cookie
|
/prebuilts/go/linux-x86/src/net/http/ |
jar.go | 11 // A CookieJar manages storage and use of cookies in HTTP requests. 18 // SetCookies handles the receipt of the cookies in a reply for the 19 // given URL. It may or may not choose to save the cookies, depending 21 SetCookies(u *url.URL, cookies []*Cookie) 23 // Cookies returns the cookies to send in a request for the given URL. 26 Cookies(u *url.URL) []*Cookie
|
/external/curl/docs/libcurl/opts/ |
CURLINFO_COOKIELIST.3 | 26 CURLINFO_COOKIELIST \- get all known cookies 31 struct curl_slist **cookies); 34 cookies curl knows (expired ones, too). Don't forget to call 36 no cookies (cookies for the handle have not been enabled or simply none have 39 Since 7.43.0 cookies that were imported in the Set-Cookie format without a 55 /* extract all known cookies */ 56 struct curl_slist *cookies = NULL; 57 res = curl_easy_getinfo(curl, CURLINFO_COOKIELIST, &cookies); 58 if(!res && cookies) { [all...] |
CURLOPT_COOKIESESSION.3 | 33 libcurl to ignore all cookies it is about to load that are "session cookies" 35 cookies, independent if they are session cookies or not. Session cookies are 36 cookies without expiry date and they are meant to be alive and existing for 51 /* new "session", don't load session cookies */ 54 /* get the (non session) cookies from this file */ 55 curl_easy_setopt(curl, CURLOPT_COOKIEFILE, "/tmp/cookies.txt");
|
CURLOPT_COOKIEJAR.3 | 26 CURLOPT_COOKIEJAR \- file name to store cookies to 33 all internally known cookies to the specified file when 34 \fIcurl_easy_cleanup(3)\fP is called. If no cookies are known, no file will be 35 created. Specify "-" as filename to instead have the cookies written to 36 stdout. Using this option also enables cookies for this session, so if you for 37 example follow a location it will make matching cookies get sent accordingly. 39 Note that libcurl doesn't read any cookies from the cookie jar. If you want to 40 read cookies from a file, use \fICURLOPT_COOKIEFILE(3)\fP. 48 Since 7.43.0 cookies that were imported in the Set-Cookie format without a 63 /* export cookies to this file when closing the handle * [all...] |
CURLOPT_COOKIELIST.3 | 26 CURLOPT_COOKIELIST \- add to or manipulate cookies held in memory 52 erases all cookies held in memory 55 erases all session cookies held in memory 58 writes all known cookies to the file specified by \fICURLOPT_COOKIEJAR(3)\fP 61 loads all cookies from the files specified by \fICURLOPT_COOKIEFILE(3)\fP 90 /* The list of cookies in cookies.txt will not be imported until right 91 before a transfer is performed. Cookies in the list that have the same 96 curl_easy_setopt(curl, CURLOPT_COOKIEFILE, "cookies.txt"); /* import */ 98 /* Cookies are exported after curl_easy_cleanup is called. The serve [all...] |
/external/curl/docs/ |
HTTP-COOKIES.md | 1 # HTTP Cookies 5 Cookies are `name=contents` pairs that a HTTP server tells the client to 7 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 aren't session cookies they have expiration dates after which 14 Cookies are set to the client with the Set-Cookie: header and are sent to 17 For a very long time, the only spec explaining how to use cookies was the 21 published and details how cookies work within HTTP [all...] |
/frameworks/base/core/java/android/webkit/ |
CookieManager.java | 24 * Manages the cookies used by an application's {@link WebView} instances. 25 * Cookies are manipulated according to RFC2109. 45 * accept cookies. 46 * By default this is set to {@code true} and the WebView accepts cookies. 54 * cookies 60 * cookies. 62 * @return {@code true} if {@link WebView} instances send and accept cookies 67 * Sets whether the {@link WebView} should allow third party cookies to be set. 68 * Allowing third party cookies is a per WebView policy and can be set 72 * default to allowing third party cookies. Apps targetin [all...] |
/frameworks/base/media/java/android/media/ |
Media2HTTPService.java | 33 public Media2HTTPService(List<HttpCookie> cookies) { 34 mCookies = cookies; 35 Log.v(TAG, "Media2HTTPService(" + this + "): Cookies: " + cookies); 52 // Applying the bootstrapping cookies 69 + "CookieManager. Can?t add the provided cookies to the cookie " 77 " Cookies: " + mCookies); 88 // when cookies are provided 89 static Media2HTTPService createHTTPService(String path, List<HttpCookie> cookies) { 91 return (new Media2HTTPService(cookies)); [all...] |
MediaHTTPService.java | 34 public MediaHTTPService(List<HttpCookie> cookies) { 35 mCookies = cookies; 36 Log.v(TAG, "MediaHTTPService(" + this + "): Cookies: " + cookies); 53 // Applying the bootstrapping cookies 70 + "CookieManager. Can?t add the provided cookies to the cookie " 78 " Cookies: " + mCookies); 90 // when cookies are provided 92 String path, List<HttpCookie> cookies) { 94 return (new MediaHTTPService(cookies)).asBinder() [all...] |
/external/apache-http/src/org/apache/http/impl/client/ |
BasicCookieStore.java | 65 private final ArrayList<Cookie> cookies; field in class:BasicCookieStore 76 this.cookies = new ArrayList<Cookie>(); 81 * Adds an {@link Cookie HTTP cookie}, replacing any existing equivalent cookies. 93 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) { 100 cookies.add(cookie); 106 * Adds an array of {@link Cookie HTTP cookies}. Cookies are added individually and 107 * in the given array order. If any of the given cookies has already expired it will 110 * @param cookies the {@link Cookie cookies} to be adde [all...] |
/external/python/cpython2/Doc/library/ |
cookielib.rst | 5 :synopsis: Classes for automatic handling of HTTP cookies. 21 cookies. It is useful for accessing web sites that require small pieces of data 22 -- :dfn:`cookies` -- to be set on the client machine by an HTTP response from a 27 :rfc:`2109` cookies are parsed as Netscape cookies and subsequently treated 28 either as Netscape or RFC 2965 cookies according to the 'policy' in effect. 29 Note that the great majority of cookies on the Internet are Netscape cookies. 50 cookies from a file. 65 The :class:`CookieJar` class stores HTTP cookies. It extracts cookies from HTT [all...] |
/external/python/cpython3/Doc/library/ |
http.cookiejar.rst | 5 :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 HTT [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCookieManager.java | 18 private Map<String,String> cookies = new HashMap<String, String>(); field in class:ShadowCookieManager 31 cookies.put(url, value); 36 return cookies.get(url); 51 cookies.clear();
|
/external/autotest/client/site_tests/login_ChromeProfileSanitary/ |
login_ChromeProfileSanitary.py | 38 cookies_info = os.stat(constants.LOGIN_PROFILE + '/Cookies') 62 # Get Default/Cookies mtime. None means no Cookies DB. 72 # Navigate to site that leaves cookies. 80 # Check mtime of Default/Cookies. If changed, KABLOOEY. 85 raise error.TestFail('Cookies created in Default profile!') 86 raise error.TestFail('Cookies in Default profile changed!')
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
RecurrentTimer_test.cpp | 36 RecurrentTimer timer([&counterRef](const std::vector<int32_t>& cookies) { 37 ASSERT_EQ(1u, cookies.size()); 38 ASSERT_EQ(0xdead, cookies.front()); 53 [&counter1msRef, &counter5msRef](const std::vector<int32_t>& cookies) { 54 for (int32_t cookie : cookies) {
|
/libcore/ojluni/src/main/java/java/net/ |
InMemoryCookieStore.java | 41 // b/33034917 Support clearing cookies by adding it with "max-age=0" 54 // the in-memory representation of cookies 59 // the cookies are indexed by its domain and associated uri (if present) 99 // Android-changed: http://b/33034917, android supports clearing cookies 111 * Get all cookies, which: 123 List<HttpCookie> cookies = new ArrayList<HttpCookie>(); local 128 getInternal1(cookies, uriIndex, uri.getHost()); 130 getInternal2(cookies, uriIndex, getEffectiveURI(uri)); 135 return cookies; 139 * Get all cookies in cookie store, except those have expire 202 List<HttpCookie> cookies = uriIndex.get(uri); local 375 List<HttpCookie> cookies = indexStore.get(index); local [all...] |
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
ContinuingHttpServletRequest.java | 41 private final Cookie[] cookies; field in class:ContinuingHttpServletRequest 49 cookies = new Cookie[numberOfCookies]; 56 cookies[i] = originalCookie; 58 cookies[i] = new ImmutableCookie(originalCookie); 62 cookies = null; 91 // NOTE(dhanji): Cookies themselves are mutable. However a ContinuingHttpServletRequest 92 // snapshots the original set of cookies it received and imprisons them in immutable 96 return cookies; 116 throw new UnsupportedOperationException("Cannot modify cookies on a continued request"); 120 throw new UnsupportedOperationException("Cannot modify cookies on a continued request") [all...] |
/external/python/cpython3/Lib/test/ |
test_http_cookies.py | 1 # Simple test suite for http/cookies.py 6 from http import cookies 33 # Check illegal cookies that have an '=' char in an unquoted value 39 # Cookies with ':' character in their name. Though not mentioned in 63 C = cookies.SimpleCookie() 71 C = cookies.SimpleCookie() 98 C = cookies.SimpleCookie() 105 C = cookies.SimpleCookie('Customer="WILE_E_COYOTE"') 111 C = cookies.SimpleCookie() 115 C = cookies.SimpleCookie( [all...] |
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
ContinuingHttpServletRequestTest.java | 47 Cookie[] cookies = new Cookie[]{ local 52 expect(delegate.getCookies()).andStubReturn(cookies); 59 assertCookieArraysEqual(cookies, continuingRequest.getCookies()); 61 // Now mutate the original cookies, this shouldnt be reflected in the continued request. 62 cookies[0].setValue("INVALID"); 63 cookies[1].setValue("INVALID"); 64 cookies[1].setMaxAge(123); 67 assertCookieArraysEqual(cookies, continuingRequest.getCookies()); 82 // The cookies should be fixed.
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
_MozillaCookieJar.py | 11 WARNING: you may want to backup your browser's cookies file if you use
12 this class to save cookies. I *think* it works, but there have been
16 load cookies to and from a file. This class uses the Mozilla/Netscape
17 `cookies.txt' format. lynx uses this file format, too.
19 Don't expect cookies saved while the browser is running to be noticed by
20 the browser (in fact, Mozilla on unix will overwrite your saved cookies if
24 Note that the Mozilla/Netscape format will downgrade RFC2965 cookies to
25 Netscape cookies on saving.
35 slightly different headers. The class saves cookies using the Netscape
54 "%r does not look like a Netscape format cookies file" % [all...] |
/external/python/cpython2/Lib/ |
_MozillaCookieJar.py | 11 WARNING: you may want to backup your browser's cookies file if you use 12 this class to save cookies. I *think* it works, but there have been 16 load cookies to and from a file. This class uses the Mozilla/Netscape 17 `cookies.txt' format. lynx uses this file format, too. 19 Don't expect cookies saved while the browser is running to be noticed by 20 the browser (in fact, Mozilla on unix will overwrite your saved cookies if 24 Note that the Mozilla/Netscape format will downgrade RFC2965 cookies to 25 Netscape cookies on saving. 35 slightly different headers. The class saves cookies using the Netscape 54 "%r does not look like a Netscape format cookies file" [all...] |