- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 126 for cookie1 (0.16 sec)
-
src/net/http/cookiejar/jar_test.go
now := tNow // Populate jar with cookies. setCookies := make([]*http.Cookie, len(test.setCookies)) for i, cs := range test.setCookies { cookies := (&http.Response{Header: http.Header{"Set-Cookie": {cs}}}).Cookies() if len(cookies) != 1 { panic(fmt.Sprintf("Wrong cookie line %q: %#v", cs, cookies)) } setCookies[i] = cookies[0] } jar.setCookies(mustParseURL(test.fromURL), setCookies, now)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 34K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
final Cookie[] cookies = request.getCookies(); if (cookies != null) { for (final Cookie cookie : cookies) { addRoleFromCookieMapping(roleSet, cookie); } } } protected void addRoleFromCookieMapping(final Set<String> roleNameList, final Cookie cookie) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 11.5K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
response.setHeader("cookie", "r=robot") assertThat(headersToList(response)) .containsExactly("Cookies: delicious", "cookie: r=robot") } @Test fun mockResponseSetHeaders() { val response = MockResponse() .clearHeaders() .addHeader("Cookie: s=square") .addHeader("Cookies: delicious") response.setHeaders(Headers.Builder().add("Cookie", "a=android").build())
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.9K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
builder.setHeader("cookie", "r=robot") assertThat(headersToList(builder)).containsExactly("Cookies: delicious", "cookie: r=robot") } @Test fun mockResponseSetHeaders() { val builder = MockResponse.Builder() .clearHeaders() .addHeader("Cookie: s=square") .addHeader("Cookies: delicious") builder.headers(Headers.Builder().add("Cookie", "a=android").build())
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0) -
pilot/pkg/networking/util/util.go
if !found { cookiePath = "/" } // The cookie is using TTL=0, which means they are session cookies (browser is not saving the cookie, expires // when the tab is closed). Most pods don't have ability (or code) to actually persist cookies, and expiration // is better handled in the cookie content (and consistently in the header value - which doesn't have // persistence semantics).
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 28.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
// cookie if (cookieSpec != null) { requestConfigBuilder.setCookieSpec(cookieSpec); } // cookie store httpClientBuilder.setDefaultCookieStore(cookieStore); if (cookieStore != null) { final Cookie[] cookies = getInitParameter(COOKIES_PROPERTY, new Cookie[0], Cookie[].class); for (final Cookie cookie : cookies) {
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu May 09 09:28:25 UTC 2024 - 41K bytes - Viewed (0) -
pilot/pkg/networking/grpcgen/grpcgen_test.go
proto.Unmarshal(ss.GetSessionState().TypedConfig.Value, sc) } } } } } if sc.Cookie == nil { t.Fatal("Failed to find session cookie") } if filterIndex == (len(hcm.HttpFilters) - 1) { t.Fatal("session-cookie-filter cannot be the last filter!") } if sc.Cookie.Name != "test-cookie" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 09:04:02 UTC 2024 - 16.9K bytes - Viewed (0) -
pilot/pkg/networking/util/util_test.go
Cookie: &httpv3.Cookie{ Path: "/", Name: "test-cookie", }, }), }, }, }, { name: "service with cookie path", service: &model.Service{ Attributes: model.ServiceAttributes{ Labels: map[string]string{features.PersistentSessionLabel: "test-cookie:/path"}, }, }, expectedconfig: &statefulsession.StatefulSession{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 40K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
} @Test fun cookie() { val cookie: Cookie = Cookie.Builder().build() val name: String = cookie.name val value: String = cookie.value val persistent: Boolean = cookie.persistent val expiresAt: Long = cookie.expiresAt val hostOnly: Boolean = cookie.hostOnly val domain: String = cookie.domain val path: String = cookie.path val httpOnly: Boolean = cookie.httpOnly
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 46.5K bytes - Viewed (0) -
src/net/http/response.go
// The pointer is shared between responses and should not be // modified. TLS *tls.ConnectionState } // Cookies parses and returns the cookies set in the Set-Cookie headers. func (r *Response) Cookies() []*Cookie { return readSetCookies(r.Header) } // ErrNoLocation is returned by the [Response.Location] method // when no Location header is present.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 11.1K bytes - Viewed (0)