Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for cookey (0.03 sec)

  1. src/main/java/jcifs/smb1/util/DES.java

                    }
                    if (pcr[pc2[j + 24]] != 0) {
                        kn[n] |= bigbyte[j];
                    }
                }
            }
            cookey(kn, KnL);
        }
    
        private void cookey(final int[] raw, final int KnL[]) {
            int raw0, raw1;
            int rawi, KnLi;
            int i;
    
            for (i = 0, rawi = 0, KnLi = 0; i < 16; ++i) {
                raw0 = raw[rawi];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

        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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

            .Builder()
            .add("Set-Cookie: a=b")
            .add("Set-Cookie: c=d")
            .build()
        val cookies = parseAll(url, headers)
        assertThat(cookies.size).isEqualTo(2)
        assertThat(cookies[0].toString()).isEqualTo("a=b; path=/")
        assertThat(cookies[1].toString()).isEqualTo("c=d; path=/")
      }
    
      @Test fun builder() {
        val cookie =
          Cookie
            .Builder()
            .name("a")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/cookie-param-models.md

    You can use Pydantic's model configuration to `forbid` any `extra` fields:
    
    {* ../../docs_src/cookie_param_models/tutorial002_an_py39.py hl[10] *}
    
    If a client tries to send some **extra cookies**, they will receive an **error** response.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/cookie-param-models.md

    ## Pydantic-модель для cookies
    
    Объявите параметры **cookie**, которые вам нужны, в **Pydantic-модели**, а затем объявите параметр как `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** **извлечёт** данные для **каждого поля** из **cookies**, полученных в запросе, и выдаст вам объявленную Pydantic-модель.
    
    ## Проверка сгенерированной документации
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 14:14:42 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/cookie-params.md

    # Cookie Parameters { #cookie-parameters }
    
    You can define Cookie parameters the same way you define `Query` and `Path` parameters.
    
    ## Import `Cookie` { #import-cookie }
    
    First import `Cookie`:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3] *}
    
    ## Declare `Cookie` parameters { #declare-cookie-parameters }
    
    Then declare the cookie parameters using the same structure as with `Path` and `Query`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/response-cookies.md

    # Response Cookies { #response-cookies }
    
    ## Use a `Response` parameter { #use-a-response-parameter }
    
    You can declare a parameter of type `Response` in your *path operation function*.
    
    And then you can set cookies in that *temporal* response object.
    
    {* ../../docs_src/response_cookies/tutorial002.py hl[1, 8:9] *}
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. docs/uk/docs/tutorial/cookie-param-models.md

    Ви можете використовувати налаштування моделі Pydantic, щоб `заборонити` будь-які `додаткові` поля:
    
    {* ../../docs_src/cookie_param_models/tutorial002_an_py39.py hl[10] *}
    
    Якщо клієнт спробує надіслати якісь **додаткові cookie**, він отримає відповідь з **помилкою**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Mar 19 17:03:38 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

        url: HttpUrl,
        cookies: List<Cookie>,
      ) {
        val cookieStrings = mutableListOf<String>()
        for (cookie in cookies) {
          cookieStrings.add(cookieToString(cookie, true))
        }
        val multimap = mapOf("Set-Cookie" to cookieStrings)
        try {
          cookieHandler.put(url.toUri(), multimap)
        } catch (e: IOException) {
          Platform.get().log("Saving cookies failed for " + url.resolve("/...")!!, WARN, e)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top