Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 332 for cookiev3 (0.18 sec)

  1. pilot/pkg/networking/util/util_test.go

    					Name: "envoy.http.stateful_session.cookie",
    					TypedConfig: protoconv.MessageToAny(&cookiev3.CookieBasedSessionState{
    						Cookie: &httpv3.Cookie{
    							Path: "/path",
    							Name: "test-cookie",
    						},
    					}),
    				},
    			},
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  2. pilot/pkg/networking/grpcgen/grpcgen_test.go

    							proto.Unmarshal(ss.GetSessionState().TypedConfig.Value, sc)
    						}
    					}
    				}
    			}
    		}
    		if sc.Cookie == nil {
    			t.Fatal("Failed to find session cookie")
    		}
    		if filterIndex == (len(hcm.HttpFilters) - 1) {
    			t.Fatal("session-cookie-filter cannot be the last filter!")
    		}
    		if sc.Cookie.Name != "test-cookie" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:04:02 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/util/util.go

    		if !found {
    			cookiePath = "/"
    		}
    		// The cookie is using TTL=0, which means they are session cookies (browser is not saving the cookie, expires
    		// when the tab is closed). Most pods don't have ability (or code) to actually persist cookies, and expiration
    		// is better handled in the cookie content (and consistently in the header value - which doesn't have
    		// persistence semantics).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/httproute_test.go

    					StatefulSession: &statefulsession.StatefulSession{
    						SessionState: &core.TypedExtensionConfig{
    							Name: "envoy.http.stateful_session.cookie",
    							TypedConfig: protoconv.MessageToAny(&cookiev3.CookieBasedSessionState{
    								Cookie: &httpv3.Cookie{
    									Name: "x-session-id",
    									Path: "/",
    								},
    							}),
    						},
    					},
    				},
    			},
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CookiesTest.kt

        )
        get(urlWithIpAddress)
        val cookies = cookieManager.cookieStore.cookies
        assertThat(cookies.size).isEqualTo(1)
        val cookie = cookies[0]
        assertThat(cookie.name).isEqualTo("a")
        assertThat(cookie.value).isEqualTo("android")
        // Converting to a fixed date can cause rounding!
        assertThat(cookie.maxAge.toDouble()).isCloseTo(60.0, 1.0)
        assertThat(cookie.path).isEqualTo("/path")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13K 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. 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)
  8. 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)
  9. docs/ru/docs/tutorial/cookie-params.md

    Вы можете задать параметры Cookie таким же способом, как `Query` и `Path` параметры.
    
    ## Импорт `Cookie`
    
    Сначала импортируйте `Cookie`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/cookie_params/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/cookie_params/tutorial001.py!}
        ```
    
    ## Объявление параметров `Cookie`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/cookie-params.md

    # Parâmetros de Cookie
    
    Você pode definir parâmetros de Cookie da mesma maneira que define paramêtros com `Query` e `Path`.
    
    ## Importe `Cookie`
    
    Primeiro importe `Cookie`:
    
    ```Python hl_lines="3"
    {!../../../docs_src/cookie_params/tutorial001.py!}
    ```
    
    ## Declare parâmetros de `Cookie`
    
    Então declare os paramêtros de cookie usando a mesma estrutura que em `Path` e `Query`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue May 10 00:09:54 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top