Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for Cookie2 (0.12 sec)

  1. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

          if (("Cookie".equals(key, ignoreCase = true) || "Cookie2".equals(key, ignoreCase = true)) &&
            value.isNotEmpty()
          ) {
            for (header in value) {
              if (cookies == null) cookies = mutableListOf()
              cookies.addAll(decodeHeaderAsJavaNetCookies(url, header))
            }
          }
        }
    
        return if (cookies != null) {
          Collections.unmodifiableList(cookies)
        } else {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:10:43 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/net/http/client_test.go

    			Redirect(w, r, "/", StatusFound)
    		case "1":
    			want = map[string][]string{
    				"Cookie1": {"OldValue1a", "OldValue1b"},
    				"Cookie3": {"OldValue3a", "OldValue3b"},
    				"Cookie4": {"OldValue4"},
    				"Cycle":   {"1"},
    			}
    			SetCookie(w, &Cookie{Name: "Cycle", Value: "2", Path: "/"})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/HttpHeaders.java

       */
      public static final String SERVICE_WORKER_ALLOWED = "Service-Worker-Allowed";
      /** The HTTP {@code Set-Cookie} header field name. */
      public static final String SET_COOKIE = "Set-Cookie";
      /** The HTTP {@code Set-Cookie2} header field name. */
      public static final String SET_COOKIE2 = "Set-Cookie2";
    
      /**
       * The HTTP <a href="http://goo.gl/Dxx19N">{@code SourceMap}</a> header field name.
       *
       * @since 27.1
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 01 18:44:57 UTC 2024
    - 34.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/HttpHeaders.java

       */
      public static final String SERVICE_WORKER_ALLOWED = "Service-Worker-Allowed";
      /** The HTTP {@code Set-Cookie} header field name. */
      public static final String SET_COOKIE = "Set-Cookie";
      /** The HTTP {@code Set-Cookie2} header field name. */
      public static final String SET_COOKIE2 = "Set-Cookie2";
    
      /**
       * The HTTP <a href="http://goo.gl/Dxx19N">{@code SourceMap}</a> header field name.
       *
       * @since 27.1
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 01 18:44:57 UTC 2024
    - 34.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. docs/es/docs/tutorial/cookie-params.md

        ```
    
    !!! note "Detalles Técnicos"
        `Cookie` es una clase "hermana" de `Path` y `Query`. También hereda de la misma clase común `Param`.
    
        Pero recuerda que cuando importas `Query`, `Path`, `Cookie`  y otros de `fastapi`, en realidad son funciones que devuelven clases especiales.
    
    !!! info
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Apr 19 19:30:26 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. docs/tr/docs/tutorial/cookie-params.md

    # Çerez (Cookie) Parametreleri
    
    `Query` (Sorgu) ve `Path` (Yol) parametrelerini tanımladığınız şekilde çerez parametreleri tanımlayabilirsiniz.
    
    ## Import `Cookie`
    
    Öncelikle, `Cookie`'yi projenize dahil edin:
    
    === "Python 3.10+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/cookie_params/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="3"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue May 14 19:35:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. src/net/http/cookiejar/jar.go

    }
    
    // Cookies implements the Cookies method of the [http.CookieJar] interface.
    //
    // It returns an empty slice if the URL's scheme is not HTTP or HTTPS.
    func (j *Jar) Cookies(u *url.URL) (cookies []*http.Cookie) {
    	return j.cookies(u, time.Now())
    }
    
    // cookies is like Cookies but takes the current time as a parameter.
    func (j *Jar) cookies(u *url.URL, now time.Time) (cookies []*http.Cookie) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. 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)
Back to top