- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 122 for cookiev3 (0.16 sec)
-
pilot/pkg/networking/util/util_test.go
Name: "envoy.http.stateful_session.cookie", TypedConfig: protoconv.MessageToAny(&cookiev3.CookieBasedSessionState{ Cookie: &httpv3.Cookie{ Path: "/path", Name: "test-cookie", }, }), }, }, }, } for _, tt := range cases { t.Run(tt.name, func(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 40K 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.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) -
okhttp/src/test/java/okhttp3/CookiesTest.kt
) get(urlWithIpAddress) val cookies = cookieManager.cookieStore.cookies assertThat(cookies.size).isEqualTo(1) val cookie = cookies[0] assertThat(cookie.name).isEqualTo("a") assertThat(cookie.value).isEqualTo("android") // Converting to a fixed date can cause rounding! assertThat(cookie.maxAge.toDouble()).isCloseTo(60.0, 1.0) assertThat(cookie.path).isEqualTo("/path")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
internal constructor(cookie: Cookie) : this() { this.name = cookie.name this.value = cookie.value this.expiresAt = cookie.expiresAt this.domain = cookie.domain this.path = cookie.path this.secure = cookie.secure this.httpOnly = cookie.httpOnly this.persistent = cookie.persistent this.hostOnly = cookie.hostOnly this.sameSite = cookie.sameSite
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 06 04:12:05 UTC 2024 - 23.1K bytes - Viewed (0) -
src/net/http/cookie.go
} } return cookies } // SetCookie adds a Set-Cookie header to the provided [ResponseWriter]'s headers. // The provided cookie must have a valid Name. Invalid cookies may be // silently dropped. func SetCookie(w ResponseWriter, cookie *Cookie) { if v := cookie.String(); v != "" { w.Header().Add("Set-Cookie", v) } } // String returns the serialization of the cookie for use in a [Cookie]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:33:05 UTC 2024 - 13.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookieTest.kt
.build() assertThat(cookie.name).isEqualTo("a") assertThat(cookie.value).isEqualTo("b") assertThat(cookie.expiresAt).isEqualTo(MAX_DATE) assertThat(cookie.domain).isEqualTo("example.com") assertThat(cookie.path).isEqualTo("/") assertThat(cookie.secure).isFalse() assertThat(cookie.httpOnly).isFalse() assertThat(cookie.persistent).isFalse() assertThat(cookie.hostOnly).isFalse()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 24.3K bytes - Viewed (0) -
tests/test_schema_extra_examples.py
def cookie_example( data: Union[str, None] = Cookie( default=None, example="cookie1", ), ): return data @app.get("/cookie_examples/") def cookie_examples( data: Union[str, None] = Cookie( default=None, examples=["cookie1", "cookie2"], ), ): return data
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 37.7K bytes - Viewed (0) -
tests/test_openapi_examples.py
"Cookie One": { "summary": "Cookie One Summary", "description": "Cookie One Description", "value": "cookie1", }, "Cookie Two": {"value": "cookie2"}, }, }
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 17K bytes - Viewed (0) -
src/net/http/cookie_test.go
cookies: []*Cookie{{Name: "Cookie-1", Value: "v$1"}}, }, { line: "Cookie-1=v$1;c2=v2", cookies: []*Cookie{{Name: "Cookie-1", Value: "v$1"}, {Name: "c2", Value: "v2"}}, }, { line: `Cookie-1="v$1";c2="v2"`, cookies: []*Cookie{{Name: "Cookie-1", Value: "v$1", Quoted: true}, {Name: "c2", Value: "v2", Quoted: true}}, }, { line: "k1=",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:33:05 UTC 2024 - 26.2K bytes - Viewed (0)