HomeSort by relevance Sort by last modified time
    Searched refs:cookies (Results 26 - 50 of 134) sorted by null

12 3 4 5 6

  /external/apache-http/src/org/apache/http/impl/cookie/
NetscapeDraftSpec.java 113 * whether multiple cookies may be sent in one header. Hence, comma
152 public List<Header> formatCookies(final List<Cookie> cookies) {
153 if (cookies == null) {
154 throw new IllegalArgumentException("List of cookies may not be null");
156 if (cookies.isEmpty()) {
157 throw new IllegalArgumentException("List of cookies may not be empty");
159 CharArrayBuffer buffer = new CharArrayBuffer(20 * cookies.size());
162 for (int i = 0; i < cookies.size(); i++) {
163 Cookie cookie = cookies.get(i);
CookieSpecBase.java 78 List<Cookie> cookies = new ArrayList<Cookie>(elems.length); local
103 cookies.add(cookie);
105 return cookies;
RFC2965Spec.java 115 List<Cookie> cookies = new ArrayList<Cookie>(elems.length); local
152 cookies.add(cookie);
154 return cookies;
  /external/chromium-trace/catapult/third_party/Paste/paste/auth/
auth_tkt.py 30 mod_auth_tkt is an Apache module that looks for these signed cookies
47 from http.cookies import SimpleCookie
91 refresh or Javascript -- some browsers have bugs where cookies
226 Middleware that checks for signed cookies that match what
302 cookies = request.get_cookies(environ)
303 if self.cookie_name in cookies:
304 cookie_value = cookies[self.cookie_name].value
377 cookies = []
379 cookies.append(('Set-Cookie', '%s=%s; Path=/%s' % (
382 cookies.append(('Set-Cookie', '%s=%s; Path=/; Domain=%s%s' %
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
AbstractCookiesTest.java 104 List<HttpCookie> cookies = cookieManager.getCookieStore().getCookies(); local
105 assertEquals(1, cookies.size());
106 HttpCookie cookie = cookies.get(0);
134 List<HttpCookie> cookies = cookieManager.getCookieStore().getCookies(); local
135 assertEquals(1, cookies.size());
136 HttpCookie cookie = cookies.get(0);
167 List<HttpCookie> cookies = cookieManager.getCookieStore().getCookies(); local
168 assertEquals(1, cookies.size());
169 HttpCookie cookie = cookies.get(0);
202 List<HttpCookie> cookies = cookieManager.getCookieStore().getCookies() local
222 List<HttpCookie> cookies = sortedCopy(cookieStore.cookies); local
779 private final List<HttpCookie> cookies = new ArrayList<HttpCookie>(); field in class:AbstractCookiesTest.TestCookieStore
1290 String[][] cookies = { local
1492 List<String> cookies = cookieHeaders.get("Cookie"); local
1501 private List<HttpCookie> cookies; field in class:AbstractCookiesTest.FakeSingleCookieStore
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
CookiesTest.java 76 List<HttpCookie> cookies = cookieManager.getCookieStore().getCookies(); local
77 assertEquals(1, cookies.size());
78 HttpCookie cookie = cookies.get(0);
106 List<HttpCookie> cookies = cookieManager.getCookieStore().getCookies(); local
107 assertEquals(1, cookies.size());
108 HttpCookie cookie = cookies.get(0);
139 List<HttpCookie> cookies = cookieManager.getCookieStore().getCookies(); local
140 assertEquals(1, cookies.size());
141 HttpCookie cookie = cookies.get(0);
173 List<HttpCookie> cookies = cookieManager.getCookieStore().getCookies() local
    [all...]
  /external/chromium-trace/catapult/third_party/Paste/paste/
wsgiwrappers.py 13 from http.cookies import SimpleCookie
253 def cookies(self): member in class:WSGIRequest
254 """Dictionary of cookies keyed by cookie name.
260 cookies = property(cookies, doc=cookies.__doc__) variable in class:WSGIRequest
292 msg += '\ncookies=%s>' % pf(self.cookies)
296 """A basic HTTP response with content, headers, and out-bound cookies
313 self.cookies = SimpleCookie()
359 for c in self.cookies.values()
    [all...]
session.py 17 cookies, and there's no way to delete a session except to clear its
28 from http.cookies import SimpleCookie
107 cookies = request.get_cookies(self.environ)
109 if self.cookie_name in cookies:
110 self.sid = cookies[self.cookie_name].value
129 cookies = request.get_cookies(self.environ)
130 if cookies.has_key(self.cookie_name):
  /external/jetty/src/java/org/eclipse/jetty/server/
CookieCutter.java 32 * <p>Optimized stateful cookie parser. Cookies fields are added with the
36 * cookies are not re parsed.
69 public void setCookies(Cookie[] cookies)
71 _cookies=cookies;
113 Object cookies = null; local
317 cookies = LazyList.add(cookies, cookie);
331 _cookies = (Cookie[]) LazyList.toArray(cookies,Cookie.class);
NCSARequestLog.java 319 * Controls logging of the request cookies.
321 * @param logCookies true - values of request cookies will be logged,
322 * false - values of request cookies will not be logged
331 * Retrieve log cookies flag
552 Cookie[] cookies = request.getCookies(); local
553 if (cookies == null || cookies.length == 0)
558 for (int i = 0; i < cookies.length; i++)
562 buf.append(cookies[i].getName());
564 buf.append(cookies[i].getValue())
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/server/session/
SessionHandler.java 237 * Look for a requested session ID in cookies and URI parameters
264 Cookie[] cookies = request.getCookies(); local
265 if (cookies != null && cookies.length > 0)
268 for (int i = 0; i < cookies.length; i++)
270 if (sessionCookie.equalsIgnoreCase(cookies[i].getName()))
272 requested_session_id = cookies[i].getValue();
  /external/curl/tests/libtest/
lib506.c 182 struct curl_slist *cookies = NULL; local
276 /* fetch a another one and save cookies */
304 /* load cookies */
324 code = curl_easy_getinfo(curl, CURLINFO_COOKIELIST, &cookies);
330 printf("loaded cookies:\n");
331 if(!cookies) {
332 fprintf(stderr, " reloading cookies from '%s' failed\n", JAR);
337 next_cookie = cookies;
343 curl_slist_free_all(cookies);
  /external/chromium-trace/catapult/third_party/webapp2/tests/
request_test.py 123 self.assertEqual(req.cookies.get('foo'), value)
124 self.assertEqual(base64.b64decode(req.cookies.get('foo')).decode('utf-8'), u'á')
138 self.assertEqual(req.cookies.get('foo'), value)
144 # We must store cookies quoted. To quote unicode, we need to encode it.
161 self.assertEqual(req.cookies.get('foo'), y)
164 w = urllib.unquote(req.cookies.get('foo').encode('utf8')).decode('utf8')
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
OkHeaders.java 119 * Send all cookies in one big header, as recommended by
122 private static String buildCookieHeader(List<String> cookies) {
123 if (cookies.size() == 1) return cookies.get(0);
125 for (int i = 0, size = cookies.size(); i < size; i++) {
127 sb.append(cookies.get(i));
  /prebuilts/gdb/darwin-x86/lib/python2.7/
cookielib.py 4 HTTP::Cookies, from the libwww-perl library.
456 Currently, this is also used for parsing RFC 2109 cookies.
460 # RFC 2109 attrs (may turn up in Netscape cookies, too)
710 This class represents both Netscape and RFC 2965 cookies.
806 """Defines which cookies get accepted from and returned to server.
808 May also modify cookies, though this is probably a bad idea.
811 and RFC 2965 cookies -- override that if you want a customised policy.
817 Currently, pre-expired cookies never get this far -- the CookieJar
818 class deletes such cookies itself.
828 """Return false if cookies should not be returned, given cookie domain
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
cookielib.py 4 HTTP::Cookies, from the libwww-perl library.
456 Currently, this is also used for parsing RFC 2109 cookies.
460 # RFC 2109 attrs (may turn up in Netscape cookies, too)
710 This class represents both Netscape and RFC 2965 cookies.
806 """Defines which cookies get accepted from and returned to server.
808 May also modify cookies, though this is probably a bad idea.
811 and RFC 2965 cookies -- override that if you want a customised policy.
817 Currently, pre-expired cookies never get this far -- the CookieJar
818 class deletes such cookies itself.
828 """Return false if cookies should not be returned, given cookie domain
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
cookielib.py 4 HTTP::Cookies, from the libwww-perl library.
456 Currently, this is also used for parsing RFC 2109 cookies.
460 # RFC 2109 attrs (may turn up in Netscape cookies, too)
710 This class represents both Netscape and RFC 2965 cookies.
806 """Defines which cookies get accepted from and returned to server.
808 May also modify cookies, though this is probably a bad idea.
811 and RFC 2965 cookies -- override that if you want a customised policy.
817 Currently, pre-expired cookies never get this far -- the CookieJar
818 class deletes such cookies itself.
828 """Return false if cookies should not be returned, given cookie domain
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
cookielib.py 4 HTTP::Cookies, from the libwww-perl library.
456 Currently, this is also used for parsing RFC 2109 cookies.
460 # RFC 2109 attrs (may turn up in Netscape cookies, too)
710 This class represents both Netscape and RFC 2965 cookies.
806 """Defines which cookies get accepted from and returned to server.
808 May also modify cookies, though this is probably a bad idea.
811 and RFC 2965 cookies -- override that if you want a customised policy.
817 Currently, pre-expired cookies never get this far -- the CookieJar
818 class deletes such cookies itself.
828 """Return false if cookies should not be returned, given cookie domain
    [all...]
  /external/apache-http/src/org/apache/http/client/protocol/
RequestAddCookies.java 60 * Request interceptor that matches cookies available in the current
153 // Get all cookies available in the HTTP state
154 List<Cookie> cookies = new ArrayList<Cookie>(cookieStore.getCookies()); local
155 // Find cookies matching the given origin
157 for (Cookie cookie : cookies) {
ResponseProcessCookies.java 54 * contained in response cookies received in the given the HTTP response.
125 List<Cookie> cookies = cookieSpec.parse(header, cookieOrigin); local
126 for (Cookie cookie : cookies) {
  /external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
inspector_page.py 133 cookies = res['result']['cookies']
134 for cookie in cookies:
  /libcore/ojluni/src/main/java/java/net/
HttpCookie.java 102 private long maxAge = MAX_AGE_UNSPECIFIED; // Max-Age=VALUE ... cookies auto-expire
166 * <p>By default, cookies are created according to the RFC 2965
206 * Constructs cookies from set-cookie or set-cookie2 header string.
244 List<HttpCookie> cookies = new java.util.ArrayList<HttpCookie>(); local
252 cookies.add(cookie);
261 cookies.add(cookie);
265 return cookies;
300 * are not supported by Netscape Version 0 cookies.
433 * <code>a.b.foo.com</code>). By default, cookies are only returned
531 * information on setting path names for cookies
1266 List<String> cookies = new java.util.ArrayList<String>(); local
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/websocket/
WebSocketClientFactory.java 441 Map<String, String> cookies = _future.getCookies(); local
442 if (cookies != null && cookies.size() > 0)
444 for (String cookie : cookies.keySet())
448 .append(QuotedStringTokenizer.quoteIfNeeded(cookies.get(cookie), HttpFields.__COOKIE_DELIM))
  /external/curl/lib/
easy.c 917 if(data->cookies) {
918 /* If cookies are enabled in the parent handle, we enable them
920 outcurl->cookies = Curl_cookie_init(data,
921 data->cookies->filename,
922 outcurl->cookies,
924 if(!outcurl->cookies)
  /external/chromium-trace/catapult/third_party/WebOb/webob/
cookies.py 207 Parse cookies ignoring anything except names and values
608 The helper is capable of generating multiple cookies if necessary to
631 multiple cookies one for each domain.
689 Looks for the cookie in the cookies jar, and if it can find it it will
697 cookie = self.request.cookies.get(self.cookie_name)
707 """ Set the cookies on a response."""
708 cookies = self.get_headers(
716 response.headerlist.extend(cookies)
721 """ Retrieve raw headers for setting cookies.
723 Returns a list of headers that should be set for the cookies t
    [all...]

Completed in 1246 milliseconds

12 3 4 5 6