Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Cookie2 (0.15 sec)

  1. 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)
  2. 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)
  3. docs/changelogs/changelog_3x.md

        implementation. This is useful in sandboxed environments like Google App
        Engine.
    
     *  **OkHttp now does cookies.** We've replaced `java.net.CookieHandler` with
        a new interface, `CookieJar` and added our own `Cookie` model class. This
        new cookie follows the latest RFC and supports the same cookie attributes
        as modern web browsers.
    
     *  **Form and Multipart bodies are now modeled.** We've replaced the opaque
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. kotlin-js-store/yarn.lock

      integrity sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==
    
    "@types/cookie@^0.4.1":
      version "0.4.1"
      resolved "https://registry.yarnpkg.com/@types/cookie/-/cookie-0.4.1.tgz#bfd02c1f2224567676c1545199f87c3a861d878d"
      integrity sha512-XW/Aa8APYr6jSVVA1y/DEIZX0/GMKLEVekNG727R8cs56ahETkRAy/3DR7+fJyh7oUgGwNQaRfXCun0+KbWY7Q==
    
    "@types/cors@^2.8.12":
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 87.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top