Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for sareste (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

            this.secure = true
          }
    
        fun httpOnly() =
          apply {
            this.httpOnly = true
          }
    
        fun sameSite(sameSite: String) =
          apply {
            require(sameSite.trim() == sameSite) { "sameSite is not trimmed" }
            this.sameSite = sameSite
          }
    
        fun build(): Cookie =
          Cookie(
            name ?: throw NullPointerException("builder.name == null"),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

      }
    
      @Test fun emptySameSite() {
        assertThat(parse(url, "a=b; SameSite=")!!.sameSite).isEqualTo("")
        assertThat(parse(url, "a=b; SameSite= ")!!.sameSite).isEqualTo("")
        assertThat(parse(url, "a=b; SameSite=\r\t \n")!!.sameSite).isEqualTo("")
      }
    
      @Test fun spaceInSameSite() {
        assertThat(parse(url, "a=b; SameSite=a b")!!.sameSite).isEqualTo("a b")
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/TempFileCreator.java

          /*
           * I assume that this check can't fail because JELLY_BEAN will be present only if we're
           * running under Jelly Bean or higher. But it seems safest to check.
           */
          if (version < jellyBean) {
            return new ThrowingCreator();
          }
    
          // Don't merge these catch() blocks, let alone use ReflectiveOperationException directly:
          // b/65343391
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                            cookie.setAttribute("SameSite", fessConfig.getCookieSearchParameterSameSite());
                            res.addCookie(cookie);
                            if (logger.isDebugEnabled()) {
                                logger.debug(
                                        "Stored search parameters in cookie: name={}, size={}, maxAge={}, path={}, domain={}, secure={}, httpOnly={}, sameSite={}",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        builder = builder.domain("")
        builder = builder.hostOnlyDomain("")
        builder = builder.path("")
        builder = builder.secure()
        builder = builder.httpOnly()
        builder = builder.sameSite("None")
        val cookie: Cookie = builder.build()
      }
    
      @Test
      fun cookieJar() {
        val cookieJar =
          object : CookieJar {
            override fun saveFromResponse(
              url: HttpUrl,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  6. CHANGELOG.md

        this new one.)
    
        ```kotlin
        implementation("com.squareup.okhttp3:okhttp-java-net-cookiehandler:5.0.0-alpha.12")
        ```
    
     *  New: `Cookie.sameSite` determines whether cookies should be sent on cross-site requests. This
        is used by servers to defend against Cross-Site Request Forgery (CSRF) attacks.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
Back to top