/external/curl/tests/data/ |
D | test31 | 19 Set-Cookie: foobar=name; domain=anything.com; path=/ ; secure 20 Set-Cookie:ismatch=this ; domain=127.0.0.1; path=/silly/ 21 Set-Cookie: overwrite=this ; domain=127.0.0.1; path=/overwrite/ 22 Set-Cookie: overwrite=this2 ; domain=127.0.0.1; path=/overwrite 23 Set-Cookie: sec1value=secure1 ; domain=127.0.0.1; path=/secure1/ ; secure 24 Set-Cookie: sec2value=secure2 ; domain=127.0.0.1; path=/secure2/ ; secure= 25 Set-Cookie: sec3value=secure3 ; domain=127.0.0.1; path=/secure3/ ; secure= 26 Set-Cookie: sec4value=secure4 ; secure=; domain=127.0.0.1; path=/secure4/ ; 27 Set-Cookie: sec5value=secure5 ; secure; domain=127.0.0.1; path=/secure5/ ; 28 Set-Cookie: sec6value=secure6 ; secure ; domain=127.0.0.1; path=/secure6/ ; [all …]
|
D | test1561 | 19 Set-Cookie: super=secret; domain=example.com; path=/1561; secure; 20 Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login/; secure; 21 Set-Cookie: __Secure-SID=12345; Domain=example.com 22 Set-Cookie: __Secure-SID=12346; Secure; Domain=example.com 23 Set-Cookie: supersupersuper=secret; __Secure-SID=12346; Secure; Domain=example.com 24 Set-Cookie: __Host-SID=22345 25 Set-Cookie: __Host-SID=22346; Secure 26 Set-Cookie: __Host-SID=22347; Domain=example.com 27 Set-Cookie: __Host-SID=22348; Domain=example.com; Path=/ 28 Set-Cookie: __Host-SID=22349; Secure; Domain=example.com; Path=/ [all …]
|
D | test8 | 38 Set-Cookie: foobar=name; domain=%HOSTIP; path=/; 39 Set-Cookie: mismatch=this; domain=%HOSTIP; path="/silly/"; 40 Set-Cookie: partmatch=present; domain=.0.0.1; path=/w; 41 Set-Cookie: duplicate=test; domain=.0.0.1; domain=.0.0.1; path=/donkey; 42 Set-Cookie: cookie=yes; path=/we; 43 Set-Cookie: cookie=perhaps; path=/we/want; 44 Set-Cookie: name with space=is weird but; path=/we/want; 45 Set-Cookie: trailingspace = removed; path=/we/want; 46 Set-Cookie: nocookie=yes; path=/WE; 47 Set-Cookie: blexp=yesyes; domain=%HOSTIP; domain=%HOSTIP; expiry=totally bad; [all …]
|
D | test1415 | 22 Set-Cookie: test1value=test1; domain=example.com; path=/; 23 Set-Cookie: test2value=test2; expires=Thursday, 31-Dec-2037 00:00:00 GMT; domain=example.com; path=… 24 Set-Cookie: test3value=test3; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/; 25 Set-Cookie: test4value=test4; expires=Thursday, 31-Dec-2037 00:00:00 GMT; domain=example.com; path=… 26 Set-Cookie: test5value=test5; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/; 27 Set-Cookie: test6value=test6; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/; 28 Set-Cookie: test7value=test7; expires=Thursday, 31-Dec-2037 00:00:00 GMT; domain=example.com; path=… 29 Set-Cookie: test8value=test8; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/; 65 # Netscape HTTP Cookie File
|
D | test7 | 19 Set-Cookie: foobar=name; domain=127.0.0.1; path=/; 20 Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/"; 21 Set-Cookie: partmatch=present; domain=.0.0.1; path=/; 56 Set-Cookie: foobar=name; domain=127.0.0.1; path=/; 57 Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/"; 58 Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
|
D | test46 | 18 Set-Cookie: ckyPersistent=permanent; expires=Fri, 13-Feb-2037 11:56:27 GMT; path=/ 19 Set-Cookie: ckySession=temporary; path=/ 20 Set-Cookie: ASPSESSIONIDQGGQQSJJ=GKNBDIFAAOFDPDAIEAKDIBKE; path=/ 21 Set-Cookie: justaname=; path=/; 22 Set-Cookie: simplyhuge=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz… 48 # Netscape HTTP Cookie File 69 Cookie: empty=; mooo2=indeed2; mooo=indeed 73 # Netscape HTTP Cookie File
|
D | test61 | 20 Set-Cookie: test=yes; httponly; domain=foo.com; expires=Fri Feb 13 11:56:27 GMT 2037 22 Set-Cookie: test3=maybe; domain=foo.com; path=/moo; secure 23 Set-Cookie: test4=no; domain=nope.foo.com; path=/moo; secure 24 Set-Cookie: test5=name; domain=anything.com; path=/ ; secure 25 Set-Cookie: fake=fooledyou; domain=..com; path=/; 26 Set-Cookie: supercookie=fooledyou; domain=.com; path=/;^M 64 # Netscape HTTP Cookie File
|
D | test1136 | 22 Set-Cookie: test1=forbidden1; domain=example.ck; path=/; 23 Set-Cookie: test2=allowed2; domain=www.example.ck; path=/; 24 Set-Cookie: test3=forbidden3; domain=ck; path=/; 25 Set-Cookie: test4=allowed4; domain=www.ck; path=/; 26 Set-Cookie: test5=forbidden5; domain=z-1.compute-1.amazonaws.com; path=/; 55 # Netscape HTTP Cookie File
|
D | test1151 | 24 Set-Cookie: foobar=name; domain=127.0.0.1; path=/; 25 Set-Cookie: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA… 26 Set-Cookie: CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC… 27 Set-Cookie: DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD… 28 Set-Cookie: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF… 57 # Netscape HTTP Cookie File
|
D | test1025 | 18 Set-Cookie: firstcookie=want; path=/want/ 29 Set-Cookie: nextcookie=data; path=/data/ 49 Set-Cookie: firstcookie=want; path=/want/ 56 Set-Cookie: nextcookie=data; path=/data/ 91 Cookie: forcedcookie=yes 96 Cookie: forcedcookie=yes 101 Cookie: firstcookie=want; forcedcookie=yes
|
/external/python/cpython2/Lib/test/ |
D | test_cookie.py | 5 import Cookie 48 C = Cookie.SimpleCookie() 56 C = Cookie.SimpleCookie() 81 C = Cookie.SimpleCookie() 85 C = Cookie.SimpleCookie() 93 C = Cookie.SimpleCookie() 99 C = Cookie.SimpleCookie('Customer="WILE_E_COYOTE"') 106 C = Cookie.SimpleCookie() 113 C = Cookie.SimpleCookie() 121 C = Cookie.SimpleCookie() [all …]
|
/external/python/cpython2/Doc/library/ |
D | cookie.rst | 1 :mod:`Cookie` --- HTTP state management 4 .. module:: Cookie 10 The :mod:`Cookie` module has been renamed to :mod:`http.cookies` in Python 14 **Source code:** :source:`Lib/Cookie.py` 18 The :mod:`Cookie` module defines classes for abstracting the concept of 27 Cookie handling. As a result, the parsing rules used are a bit less strict. 31 in Cookie name (as :attr:`~Morsel.key`). 44 incorrect :mailheader:`Set-Cookie` header, etc. 85 :mod:`Cookie` module exports a class named :class:`~Cookie.Cookie` which is 88 :class:`~Cookie.Cookie` class in your applications, for the same reason why [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/android/webkit/ |
D | RoboCookieManager.java | 24 private final List<Cookie> store = new ArrayList<>(); 28 List<Cookie> cookies = parseCookies(url, value); in setCookie() 29 for (Cookie cookie : cookies) { in setCookie() 76 final List<Cookie> matchedCookies; in getCookie() 90 Cookie cookie = matchedCookies.get(i); in getCookie() 111 private List<Cookie> filter(String domain) { in filter() 115 private List<Cookie> filter(String domain, boolean isSecure) { in filter() 116 List<Cookie> matchedCookies = new ArrayList<>(); in filter() 118 for (Cookie cookie : store) { in filter() 140 List<Cookie> expired = new ArrayList<>(); in removeExpiredCookie() [all …]
|
/external/apache-http/src/org/apache/http/impl/client/ |
D | BasicCookieStore.java | 41 import org.apache.http.cookie.Cookie; 65 private final ArrayList<Cookie> cookies; 67 private final Comparator<Cookie> cookieComparator; 76 this.cookies = new ArrayList<Cookie>(); in BasicCookieStore() 90 public synchronized void addCookie(Cookie cookie) { in addCookie() 93 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) { in addCookie() 115 public synchronized void addCookies(Cookie[] cookies) { in addCookies() 117 for (Cookie cooky : cookies) { in addCookies() 129 public synchronized List<Cookie> getCookies() { in getCookies() 146 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) { in clearExpired()
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ContinuingHttpServletRequestTest.java | 23 import javax.servlet.http.Cookie; 32 private static final int DEFAULT_MAX_AGE = new Cookie("", "").getMaxAge(); 46 Cookie[] cookies = in testReturnDelegateCookies() 47 new Cookie[] {new Cookie("testName1", TEST_VALUE_1), new Cookie("testName2", "testValue2")}; in testReturnDelegateCookies() 84 private static void assertCookieArraysEqual(Cookie[] one, Cookie[] two) { in assertCookieArraysEqual() 87 Cookie cookie = one[i]; in assertCookieArraysEqual() 92 private static void assertCookieEquality(Cookie one, Cookie two) { in assertCookieEquality()
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
D | RFC2109Spec.java | 41 import org.apache.http.cookie.Cookie; 108 public List<Cookie> parse(final Header header, final CookieOrigin origin) in parse() 121 public void validate(final Cookie cookie, final CookieOrigin origin) in validate() 136 public List<Header> formatCookies(List<Cookie> cookies) { in formatCookies() 145 cookies = new ArrayList<Cookie>(cookies); in formatCookies() 155 private List<Header> doFormatOneHeader(final List<Cookie> cookies) { in doFormatOneHeader() 158 for (Cookie cookie : cookies) { in doFormatOneHeader() 168 for (Cookie cooky : cookies) { in doFormatOneHeader() 170 Cookie cookie = cooky; in doFormatOneHeader() 178 private List<Header> doFormatManyHeaders(final List<Cookie> cookies) { in doFormatManyHeaders() [all …]
|
D | CookieSpecBase.java | 40 import org.apache.http.cookie.Cookie; 76 protected List<Cookie> parse(final HeaderElement[] elems, final CookieOrigin origin) in parse() 78 List<Cookie> cookies = new ArrayList<Cookie>(elems.length); in parse() 108 public void validate(final Cookie cookie, final CookieOrigin origin) in validate() 121 public boolean match(final Cookie cookie, final CookieOrigin origin) { in match()
|
D | BestMatchSpec.java | 38 import org.apache.http.cookie.Cookie; 100 public List<Cookie> parse( in parse() 137 final Cookie cookie, in validate() 152 public boolean match(final Cookie cookie, final CookieOrigin origin) { in match() 166 public List<Header> formatCookies(final List<Cookie> cookies) { in formatCookies() 171 for (Cookie cookie: cookies) { in formatCookies()
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | ContinuingHttpServletRequest.java | 24 import javax.servlet.http.Cookie; 38 private final Cookie[] cookies; 43 Cookie[] originalCookies = request.getCookies(); in ContinuingHttpServletRequest() 46 cookies = new Cookie[numberOfCookies]; in ContinuingHttpServletRequest() 48 Cookie originalCookie = originalCookies[i]; in ContinuingHttpServletRequest() 94 public Cookie[] getCookies() { in getCookies() 103 private static final class ImmutableCookie extends Cookie { 104 public ImmutableCookie(Cookie original) { in ImmutableCookie()
|
/external/python/cpython3/Doc/library/ |
D | http.cookies.rst | 23 Cookie handling. As a result, the parsing rules used are a bit less strict. 27 in Cookie name (as :attr:`~Morsel.key`). 30 Allowed ':' as a valid Cookie name character. 43 incorrect :mailheader:`Set-Cookie` header, etc. 73 Cookie Objects 94 .. method:: BaseCookie.output(attrs=None, header='Set-Cookie:', sep='\\r\\n') 182 .. method:: Morsel.output(attrs=None, header='Set-Cookie:') 187 ``"Set-Cookie:"``. 245 Set-Cookie: fig=newton 246 Set-Cookie: sugar=wafer [all …]
|
/external/curl/lib/ |
D | cookie.c | 104 static void freecookie(struct Cookie *co) in freecookie() 379 struct Cookie *co, *nx; in remove_expired() 384 struct Cookie *pv = NULL; in remove_expired() 425 struct Cookie * 441 struct Cookie *clist; in Curl_cookie_add() 442 struct Cookie *co; in Curl_cookie_add() 443 struct Cookie *lastc = NULL; in Curl_cookie_add() 454 co = calloc(1, sizeof(struct Cookie)); in Curl_cookie_add() 1212 struct Cookie *c1 = *(struct Cookie **)p1; in cookie_sort() 1213 struct Cookie *c2 = *(struct Cookie **)p2; in cookie_sort() [all …]
|
D | cookie.h | 28 struct Cookie { struct 29 struct Cookie *next; /* next in the chain */ argument 61 struct Cookie *cookies[COOKIE_HASH_SIZE]; argument 93 struct Cookie *Curl_cookie_add(struct Curl_easy *data, 99 struct Cookie *Curl_cookie_getlist(struct CookieInfo *, const char *, 101 void Curl_cookie_freelist(struct Cookie *cookies);
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
D | CookieIntegrationTest.java | 59 List<Cookie> cookiesReceived = new ArrayList<Cookie>(); 61 List<Cookie> cookiesToSend = new ArrayList<Cookie>(); 71 this.cookiesReceived.add(new Cookie(cookieName, cookies.read(cookieName))); in serve() 73 for (Cookie c : this.cookiesToSend) { in serve() 87 this.testServer.cookiesToSend.add(new NanoHTTPD.Cookie("name", "value", 30)); in testCookieSentBackToClient()
|
/external/apache-http/src/org/apache/http/client/protocol/ |
D | RequestAddCookies.java | 52 import org.apache.http.cookie.Cookie; 154 List<Cookie> cookies = new ArrayList<Cookie>(cookieStore.getCookies()); in process() 156 List<Cookie> matchedCookies = new ArrayList<Cookie>(); in process() 157 for (Cookie cookie : cookies) { in process() 176 for (Cookie cookie : matchedCookies) { in process()
|
/external/apache-http/src/org/apache/http/cookie/ |
D | CookieSpec.java | 81 List<Cookie> parse(Header header, CookieOrigin origin) throws MalformedCookieException; in parse() 91 void validate(Cookie cookie, CookieOrigin origin) throws MalformedCookieException; in validate() 102 boolean match(Cookie cookie, CookieOrigin origin); in match() 111 List<Header> formatCookies(List<Cookie> cookies); in formatCookies()
|