- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 94 for cookie (0.09 sec)
-
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: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 04:12:05 UTC 2024 - 23.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookiesTest.kt
val cookie = cookies[0] assertThat(cookie.name).isEqualTo("a") assertThat(cookie.value).isEqualTo("android") assertThat(cookie.commentURL).isNull() assertThat(cookie.discard).isFalse() // Converting to a fixed date can cause rounding! assertThat(cookie.maxAge.toDouble()).isCloseTo(60.0, 5.0) assertThat(cookie.path).isEqualTo("/path") assertThat(cookie.secure).isTrue() } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13K 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: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 24.3K bytes - Viewed (0) -
tests/test_openapi_examples.py
def cookie_examples( data: Union[str, None] = Cookie( default=None, examples=["json_schema_cookie1", "json_schema_cookie2"], openapi_examples={ "Cookie One": { "summary": "Cookie One Summary", "description": "Cookie One Description", "value": "cookie1", }, "Cookie Two": { "value": "cookie2",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 15:57:43 UTC 2024 - 17.7K 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: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 37.7K 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: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 25 01:48:41 UTC 2024 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
} }; Set<String> roleSet; Cookie cookie; roleSet = buildByCookie(roleQueryHelperImpl, getMockRequest()); assertEquals(0, roleSet.size()); cookie = new Cookie("aaa", "bbb"); getMockRequest().addCookie(cookie); try { roleSet = buildByCookie(roleQueryHelperImpl, getMockRequest()); fail();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 14.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt
} @Test @Disabled 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()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.3K 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: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 46.5K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
.clearHeaders() .addHeader("Cookie: s=square") .addHeader("Cookie", "a=android") assertThat(headersToList(response)) .containsExactly("Cookie: s=square", "Cookie: a=android") } @Test fun mockResponseSetHeader() { val response = MockResponse() .clearHeaders() .addHeader("Cookie: s=square") .addHeader("Cookie: a=android")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.9K bytes - Viewed (0)