Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Cookies (0.16 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. 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)
  4. 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)
  5. src/main/java/jcifs/smb/SmbFile.java

         *
         * <blockquote>
         * 
         * <pre>
         * winnt&gt; 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top