Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for tld (0.04 sec)

  1. src/net/http/cookiejar/jar_test.go

    			{"http://other.test", ""},
    			{"http://test", ""},
    		},
    	},
    	{
    		"Host cookie on TLD.",
    		"http://com",
    		[]string{"a=1"},
    		"a=1",
    		[]query{
    			{"http://com", "a=1"},
    			{"http://any.com", ""},
    			{"http://any.test", ""},
    		},
    	},
    	{
    		"Domain cookie on TLD becomes a host cookie.",
    		"http://com",
    		[]string{"a=1; domain=com"},
    		"a=1",
    		[]query{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. src/net/conf.go

    					return hostLookupCgo, dnsConf
    				}
    				continue
    			case hostname != "" && stringslite.HasPrefix(src.source, "mdns"):
    				if stringsHasSuffixFold(hostname, ".local") {
    					// Per RFC 6762, the ".local" TLD is special. And
    					// because Go's native resolver doesn't do mDNS or
    					// similar local resolution mechanisms, assume that
    					// libc might (via Avahi, etc) and use cgo.
    					return hostLookupCgo, dnsConf
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/preflight/checks_test.go

    	// if ProxyFromEnvironment already executed before our test with empty
    	// HTTP_PROXY it will make these tests return false positive failures
    	req, err := http.NewRequest("GET", "http://host.fake.tld/", nil)
    	if err != nil {
    		t.Fatalf("unexpected err: %v", err)
    	}
    	proxy, err := http.ProxyFromEnvironment(req)
    	if err != nil {
    		t.Fatalf("unexpected err: %v", err)
    	}
    	if proxy == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  4. src/net/http/request_test.go

    	}{
    		{r: strings.NewReader("hello")},
    		{r: bytes.NewReader([]byte("hello"))},
    		{r: bytes.NewBuffer([]byte("hello"))},
    	}
    	for i, tt := range tests {
    		req, err := NewRequest("POST", "http://foo.tld/", tt.r)
    		if err != nil {
    			t.Errorf("test[%d]: %v", i, err)
    			continue
    		}
    		if req.Body == nil {
    			t.Errorf("test[%d]: Body = nil", i)
    			continue
    		}
    		if req.GetBody == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top