- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for Cookie2 (0.17 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) -
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) -
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) -
src/main/java/jcifs/smb/SmbFile.java
* * <blockquote> * * <pre> * winnt> ls c?o* * clock.avi -rw-- 82944 Mon Oct 14 1996 1:38 AM * Cookies drw-- 0 Fri Nov 13 1998 9:42 PM * 2 items in 5ms * </pre> * * </blockquote> *
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (1) -
src/net/http/transport.go
// Transports are safe for concurrent use by multiple goroutines. // // A Transport is a low-level primitive for making HTTP and HTTPS requests. // For high-level functionality, such as cookies and redirects, see [Client]. // // Transport uses HTTP/1.1 for HTTP URLs and either HTTP/1.1 or HTTP/2 // for HTTPS URLs, depending on whether the server supports HTTP/2,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 91K bytes - Viewed (0)