Home
last modified time | relevance | path

Searched refs:Cookie (Results 1 – 25 of 188) sorted by relevance

12345678

/external/curl/tests/data/
Dtest3119 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 …]
Dtest156119 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 …]
Dtest838 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 …]
Dtest141522 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=/;
68 # Netscape HTTP Cookie File
Dtest719 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=/;
Dtest4618 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
Dtest6120 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
Dtest115124 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
Dtest113622 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=/;
56 # Netscape HTTP Cookie File
Dtest102518 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/
Dtest_cookie.py5 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/
Dcookie.rst1 :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/apache-http/src/org/apache/http/impl/client/
DBasicCookieStore.java41 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/robolectric-shadows/shadows/framework/src/main/java/android/webkit/
DRoboCookieManager.java24 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/guice/extensions/servlet/test/com/google/inject/servlet/
DContinuingHttpServletRequestTest.java23 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/scudo/standalone/tests/
Dchunk_test.cpp16 static constexpr scudo::u32 Cookie = 0x41424344U; variable
31 scudo::Chunk::storeHeader(Cookie, P, &Header); in TEST()
33 scudo::Chunk::loadHeader(Cookie, P, &Header); in TEST()
34 EXPECT_TRUE(scudo::Chunk::isValid(Cookie, P, &Header)); in TEST()
51 scudo::Chunk::storeHeader(Cookie, P, &OldHeader); in TEST()
55 scudo::Chunk::compareExchangeHeader(Cookie, P, &NewHeader, &OldHeader); in TEST()
57 EXPECT_TRUE(scudo::Chunk::isValid(Cookie, P, &NewHeader)); in TEST()
70 scudo::Chunk::storeHeader(Cookie, P, &Header); in TEST()
72 scudo::Chunk::loadHeader(Cookie, P, &Header); in TEST()
76 EXPECT_DEATH(scudo::Chunk::loadHeader(Cookie, P, &Header), ""); in TEST()
/external/apache-http/src/org/apache/http/impl/cookie/
DRFC2109Spec.java41 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 …]
DCookieSpecBase.java40 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()
/external/scudo/standalone/
Dchunk.h102 static inline u16 computeHeaderChecksum(u32 Cookie, const void *Ptr, in computeHeaderChecksum() argument
108 return computeChecksum(Cookie, reinterpret_cast<uptr>(Ptr), HeaderHolder, in computeHeaderChecksum()
112 inline void storeHeader(u32 Cookie, void *Ptr, in storeHeader() argument
115 computeHeaderChecksum(Cookie, Ptr, NewUnpackedHeader); in storeHeader()
120 inline void loadHeader(u32 Cookie, const void *Ptr, in loadHeader() argument
125 computeHeaderChecksum(Cookie, Ptr, NewUnpackedHeader))) in loadHeader()
129 inline void compareExchangeHeader(u32 Cookie, void *Ptr, in compareExchangeHeader() argument
133 computeHeaderChecksum(Cookie, Ptr, NewUnpackedHeader); in compareExchangeHeader()
142 inline bool isValid(u32 Cookie, const void *Ptr, in isValid() argument
147 computeHeaderChecksum(Cookie, Ptr, NewUnpackedHeader); in isValid()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DContinuingHttpServletRequest.java24 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/curl/lib/
Dcookie.h28 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);
Dcookie.c105 static void freecookie(struct Cookie *co) in freecookie()
380 struct Cookie *co, *nx; in remove_expired()
385 struct Cookie *pv = NULL; in remove_expired()
426 struct Cookie *
442 struct Cookie *clist; in Curl_cookie_add()
443 struct Cookie *co; in Curl_cookie_add()
444 struct Cookie *lastc = NULL; in Curl_cookie_add()
455 co = calloc(1, sizeof(struct Cookie)); in Curl_cookie_add()
1184 struct Cookie *c1 = *(struct Cookie **)p1; in cookie_sort()
1185 struct Cookie *c2 = *(struct Cookie **)p2; in cookie_sort()
[all …]
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DCookieIntegrationTest.java59 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/python/cpython3/Doc/library/
Dhttp.cookies.rst23 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.
74 Cookie Objects
96 .. method:: BaseCookie.output(attrs=None, header='Set-Cookie:', sep='\\r\\n')
192 .. method:: Morsel.output(attrs=None, header='Set-Cookie:')
197 ``"Set-Cookie:"``.
255 Set-Cookie: fig=newton
256 Set-Cookie: sugar=wafer
[all …]
/external/apache-http/src/org/apache/http/cookie/
DCookieSpec.java81 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()

12345678