- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for Cookie2 (0.27 sec)
-
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) -
src/net/http/request.go
} // ErrNoCookie is returned by Request's Cookie method when a cookie is not found. var ErrNoCookie = errors.New("http: named cookie not present") // Cookie returns the named cookie provided in the request or // [ErrNoCookie] if not found. // If multiple cookies match the given name, only one cookie will // be returned. func (r *Request) Cookie(name string) (*Cookie, error) { if name == "" { return nil, ErrNoCookie }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 49.4K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route_test.go
g.Expect(len(routes)).To(Equal(1)) hashPolicy := &envoyroute.RouteAction_HashPolicy{ PolicySpecifier: &envoyroute.RouteAction_HashPolicy_Cookie_{ Cookie: &envoyroute.RouteAction_HashPolicy_Cookie{ Name: "hash-cookie", Ttl: &ttl, }, }, } g.Expect(routes[0].GetRoute().GetHashPolicy()).To(ConsistOf(hashPolicy))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 88.1K bytes - Viewed (0) -
src/crypto/tls/handshake_messages.go
} }) }) } } if len(m.cookie) > 0 { // RFC 8446, Section 4.2.2 if echInner { echOuterExts = append(echOuterExts, extensionCookie) } else { exts.AddUint16(extensionCookie) exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) { exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) { exts.AddBytes(m.cookie) }) }) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 51.8K bytes - Viewed (0) -
okhttp/api/okhttp.api
} public final class okhttp3/Cookie$Builder { public fun <init> ()V public final fun build ()Lokhttp3/Cookie; public final fun domain (Ljava/lang/String;)Lokhttp3/Cookie$Builder; public final fun expiresAt (J)Lokhttp3/Cookie$Builder; public final fun hostOnlyDomain (Ljava/lang/String;)Lokhttp3/Cookie$Builder; public final fun httpOnly ()Lokhttp3/Cookie$Builder;
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0) -
src/net/http/httputil/reverseproxy_test.go
} if g, e := len(res.Header["Set-Cookie"]), 1; g != e { t.Fatalf("got %d SetCookies, want %d", g, e) } if g, e := res.Trailer, (http.Header{"X-Trailer": nil}); !reflect.DeepEqual(g, e) { t.Errorf("before reading body, Trailer = %#v; want %#v", g, e) } if cookie := res.Cookies()[0]; cookie.Name != "flavor" { t.Errorf("unexpected cookie %q", cookie.Name) } bodyBytes, _ := io.ReadAll(res.Body)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 54.6K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route.go
case *networking.LoadBalancerSettings_ConsistentHashLB_HttpCookie: cookie := consistentHash.GetHttpCookie() var ttl *durationpb.Duration if cookie.GetTtl() != nil { ttl = cookie.GetTtl() } return &route.RouteAction_HashPolicy{ PolicySpecifier: &route.RouteAction_HashPolicy_Cookie_{ Cookie: &route.RouteAction_HashPolicy_Cookie{ Name: cookie.GetName(), Ttl: ttl, Path: cookie.GetPath(),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
apply { this.followSslRedirects = followProtocolRedirects } /** * Sets the handler that can accept cookies from incoming HTTP responses and provides cookies to * outgoing HTTP requests. * * If unset, [no cookies][CookieJar.NO_COOKIES] will be accepted nor provided. */ fun cookieJar(cookieJar: CookieJar) = apply { this.cookieJar = cookieJar
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 06 04:21:33 UTC 2024 - 52K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
import mockwebserver3.SocketPolicy.ResetStreamAtStart import mockwebserver3.SocketPolicy.StallSocketAtStart import okhttp3.Cache import okhttp3.Call import okhttp3.Callback import okhttp3.Connection import okhttp3.Cookie import okhttp3.Credentials.basic import okhttp3.EventListener import okhttp3.Headers.Companion.headersOf import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.Interceptor import okhttp3.MediaType
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
fastapi/param_functions.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 62.5K bytes - Viewed (0)