Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for sameSite (0.05 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. api/go1.11.txt

    pkg net/http, const SameSiteDefaultMode SameSite
    pkg net/http, const SameSiteLaxMode = 2
    pkg net/http, const SameSiteLaxMode SameSite
    pkg net/http, const SameSiteStrictMode = 3
    pkg net/http, const SameSiteStrictMode SameSite
    pkg net/http, const StatusMisdirectedRequest = 421
    pkg net/http, const StatusMisdirectedRequest ideal-int
    pkg net/http, type Cookie struct, SameSite SameSite
    pkg net/http, type SameSite int
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 22 03:48:56 UTC 2018
    - 25K 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/api/jvm/okhttp.api

    	public static final fun parseAll (Lokhttp3/HttpUrl;Lokhttp3/Headers;)Ljava/util/List;
    	public final fun path ()Ljava/lang/String;
    	public final fun persistent ()Z
    	public final fun sameSite ()Ljava/lang/String;
    	public final fun secure ()Z
    	public fun toString ()Ljava/lang/String;
    	public final fun value ()Ljava/lang/String;
    }
    
    public final class okhttp3/Cookie$Builder {
    	public fun <init> ()V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  6. 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)
  7. 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 (2)
  8. okhttp/api/android/okhttp.api

    	public static final fun parseAll (Lokhttp3/HttpUrl;Lokhttp3/Headers;)Ljava/util/List;
    	public final fun path ()Ljava/lang/String;
    	public final fun persistent ()Z
    	public final fun sameSite ()Ljava/lang/String;
    	public final fun secure ()Z
    	public fun toString ()Ljava/lang/String;
    	public final fun value ()Ljava/lang/String;
    }
    
    public final class okhttp3/Cookie$Builder {
    	public fun <init> ()V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  9. src/main/resources/fess_config.properties

    cookie.search.parameter.domain=
    # Path attribute for the search parameter cookie. Typically set to "/" or the context path of the app.
    cookie.search.parameter.path=/
    # SameSite attribute for the search parameter cookie. Valid values: Lax, Strict, None
    cookie.search.parameter.same_site=Lax
    
    # ----------------------------------------------------------
    #                                                     Paging
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 14:45:37 UTC 2025
    - 54.7K bytes
    - Viewed (0)
  10. src/cmd/addr2line/addr2line_test.go

    	}
    
    	// Debug paths are stored slash-separated, so convert to system-native.
    	srcPath = filepath.FromSlash(srcPath)
    	fi2, err := os.Stat(srcPath)
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    	if !os.SameFile(fi1, fi2) {
    		t.Fatalf("addr2line_test.go and %s are not same file", srcPath)
    	}
    	if want := "102"; srcLineNo != want {
    		t.Fatalf("line number = %v; want %s", srcLineNo, want)
    	}
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top