/external/apache-http/src/org/apache/http/cookie/ |
SM.java | 44 public static final String COOKIE2 = "Cookie2"; 46 public static final String SET_COOKIE2 = "Set-Cookie2";
|
CookieSpec.java | 111 * specification does not support <tt>Cookie2</tt> header.
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
CookieManagerTest.java | 227 final String cookie2 = "cookie2=sue"; local 234 String value2 = cookie2 + "; expires=" + date.toGMTString(); 245 assertTrue(allCookies.contains(cookie2)); 252 return !c.contains(cookie1) && c.contains(cookie2) && c.contains(cookie3); 261 return !c.contains(cookie1) && c.contains(cookie2) && !c.contains(cookie3);
|
/external/webkit/WebCore/inspector/front-end/ |
CookieItemsView.js | 180 function localeCompare(field, cookie1, cookie2) 182 return sortDirection * (cookie1[field] + "").localeCompare(cookie2[field] + "") 185 function numberCompare(field, cookie1, cookie2) 187 return sortDirection * (cookie1[field] - cookie2[field]); 190 function expiresCompare(cookie1, cookie2) 192 if (cookie1.session !== cookie2.session) 198 return sortDirection * (cookie1.expires - cookie2.expires);
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
RFC2965CommentUrlAttributeHandler.java | 53 SetCookie2 cookie2 = (SetCookie2) cookie; local 54 cookie2.setCommentURL(commenturl);
|
RFC2965DiscardAttributeHandler.java | 53 SetCookie2 cookie2 = (SetCookie2) cookie; local 54 cookie2.setDiscard(true);
|
RFC2965PortAttributeHandler.java | 111 SetCookie2 cookie2 = (SetCookie2) cookie; local 114 cookie2.setPorts(ports);
|
BasicDomainHandler.java | 79 // A Set-Cookie2 with Domain=ajax.com will be accepted.
|
RFC2965Spec.java | 251 buffer.append(SM.COOKIE2);
|
/external/apache-http/src/org/apache/http/client/protocol/ |
ResponseProcessCookies.java | 105 // process set-cookie2 headers. 106 // Cookie2 will replace equivalent Cookie instances
|
/libcore/luni/src/main/java/java/net/ |
HttpCookie.java | 54 * to {@code Set-Cookie2}. The {@link #getVersion() version} of cookies 226 * set-cookie or set-cookie2 header format as specified in RFC 2965. Since 231 * a set-cookie or set-cookie2 header. 255 * Otherwise, if the cookie started with "Set-Cookie2", the version is 1. 271 // The RI permits input without either the "Set-Cookie:" or "Set-Cookie2" headers. 273 if (inputLowerCase.startsWith("set-cookie2:")) { 274 pos += "set-cookie2:".length(); 307 * and ",COOKIE2=value2".
|
CookieManager.java | 62 private static final String VERSION_ONE_HEADER = "Set-cookie2"; 210 // Only "Set-cookie" and "Set-cookie2" pair will be parsed
|
/libcore/luni/src/test/java/libcore/java/net/ |
CookiesTest.java | 110 server.enqueue(new MockResponse().addHeader("Set-Cookie2: a=android; " 144 server.enqueue(new MockResponse().addHeader("Set-Cookie2: a=\"android\"; " 273 * or {@code Cookie2} that are returned by the cookie manager should show up in the request and 284 result.put("Cookie2", Collections.singletonList("Baz=baz")); 319 assertContainsAll(connection.getRequestProperties().keySet(), "Cookie", "Cookie2"); 324 assertContainsAll(request.getHeaders(), "Foo: foo", "Cookie: Bar=bar", "Cookie2: Baz=baz"); 334 result.put("cooKIE2", Collections.singletonList("Baz=baz")); 345 assertContainsAll(request.getHeaders(), "COOKIE: Bar=bar", "cooKIE2: Baz=baz");
|
/frameworks/base/core/java/android/webkit/ |
CookieManager.java | 206 public int compare(Cookie cookie1, Cookie cookie2) { 213 int diff = cookie2.path.length() - cookie1.path.length(); 216 diff = cookie2.domain.length() - cookie1.domain.length(); 219 // If cookie2 has a null value, it should come later in 221 if (cookie2.value == null) { 228 // Now we know that cookie2 does not have a null value, if 234 return cookie1.name.compareTo(cookie2.name); [all...] |
/external/webkit/WebCore/websockets/ |
WebSocketHandshake.cpp | 196 // Set "Cookie2: <cookie>" if cookies 2 exists for url? 444 else if (it->first == "set-cookie2")
|
WebSocketChannel.cpp | 164 // FIXME: handle set-cookie2.
|
/external/webkit/WebKitTools/pywebsocket/mod_pywebsocket/ |
handshake.py | 70 r'(Cookie2: [^\r]*\r\n)?'
|
/external/webkit/WebCore/xml/ |
XMLHttpRequest.cpp | 81 m_forbiddenRequestHeaders.add("cookie2"); 127 return equalIgnoringCase(name, "set-cookie") || equalIgnoringCase(name, "set-cookie2");
|
/external/webkit/WebKitTools/pywebsocket/test/ |
test_handshake.py | 257 'Cookie2: $Version=1\r\n'
|
/external/chromium/net/http/ |
http_util.cc | 324 // NOTE: "set-cookie2" headers do not support expires attributes, so we don't
|
http_response_headers.cc | 52 "set-cookie2" [all...] |
http_response_headers_unittest.cc | 421 "Set-Cookie2: bar2=foo2\n", [all...] |
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/ |
HttpURLConnectionImpl.java | 883 if ("Cookie".equalsIgnoreCase(key) || "Cookie2".equalsIgnoreCase(key)) { [all...] |