Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for origin (0.23 sec)

  1. internal/config/browser/browser.go

    	referrerPolicy := env.Get(EnvBrowserReferrerPolicy, kvs.GetWithDefault(browserReferrerPolicy, DefaultKVS))
    	switch referrerPolicy {
    	case "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url":
    		cfg.ReferrerPolicy = referrerPolicy
    	default:
    		return cfg, fmt.Errorf("invalid value %v for %s", referrerPolicy, browserReferrerPolicy)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. istioctl/pkg/precheck/precheck.go

    		if !versions.Contains(gvk.KubernetesGateway.Version) {
    			origin := legacykube.Origin{
    				Type: gvk.CustomResourceDefinition,
    				FullName: resource.FullName{
    					Namespace: resource.Namespace(r.Namespace),
    					Name:      resource.LocalName(r.Name),
    				},
    				ResourceVersion: resource.Version(r.ResourceVersion),
    			}
    			r := &resource.Instance{
    				Origin: &origin,
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. internal/config/api/api.go

    // API sub-system constants
    const (
    	apiRequestsMax             = "requests_max"
    	apiRequestsDeadline        = "requests_deadline"
    	apiClusterDeadline         = "cluster_deadline"
    	apiCorsAllowOrigin         = "cors_allow_origin"
    	apiRemoteTransportDeadline = "remote_transport_deadline"
    	apiListQuorum              = "list_quorum"
    	apiReplicationPriority     = "replication_priority"
    	apiReplicationMaxWorkers   = "replication_max_workers"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  4. istioctl/pkg/util/formatting/formatter.go

    func render(m diag.Message, colorize bool) string {
    	return fmt.Sprintf("%s%v%s [%v]%s %s",
    		colorPrefix(m, colorize), m.Type.Level(), colorSuffix(colorize),
    		m.Type.Code(), m.Origin(), fmt.Sprintf(m.Type.Template(), m.Parameters...),
    	)
    }
    
    func colorPrefix(m diag.Message, colorize bool) string {
    	if !colorize {
    		return ""
    	}
    
    	prefix, ok := colorPrefixes[m.Type.Level()]
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. cmd/api-router.go

    		xhttp.AmzBucketRegion,
    		xhttp.Expires,
    		"X-Amz*",
    		"x-amz*",
    		"*",
    	}
    	opts := cors.Options{
    		AllowOriginFunc: func(origin string) bool {
    			for _, allowedOrigin := range globalAPIConfig.getCorsAllowOrigins() {
    				if wildcard.MatchSimple(allowedOrigin, origin) {
    					return true
    				}
    			}
    			return false
    		},
    		AllowedMethods: []string{
    			http.MethodGet,
    			http.MethodPut,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  6. cmd/generic-handlers.go

    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		if origin := w.Header().Get("Access-Control-Allow-Origin"); origin == "null" {
    			// This is a workaround change to ensure that "Origin: null"
    			// incoming request to a response back as "*" instead of "null"
    			w.Header().Set("Access-Control-Allow-Origin", "*")
    		}
    		if globalDNSConfig == nil || !globalBucketFederation ||
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  7. istioctl/pkg/util/formatting/formatter_test.go

    		"level": "Error",
    		"message": "Explosion accident: the bubble is too big",
    		"origin": "SoapBubble"
    	},
    	{
    		"code": "C1",
    		"documentationUrl": "` + url.ConfigAnalysis + `/c1/",
    		"level": "Warning",
    		"message": "Collapse danger: the castle is too old",
    		"origin": "GrandCastle"
    	}
    ]`
    
    	g.Expect(output).To(Equal(expectedOutput))
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  8. cmd/server_test.go

    		"Cache-Control",
    		"Retry-After",
    		"X-Amz-Bucket-Region",
    		"Expires",
    		"X-Amz*",
    		"X-Amz*",
    		"*",
    	}
    	expectedMap.Set("Vary", "Origin")
    
    	req, _ := http.NewRequest(http.MethodOptions, s.endPoint, nil)
    	req.Header.Set("Origin", "http://foobar.com")
    	res, err := s.client.Do(req)
    	if err != nil {
    		c.Fatal(err)
    	}
    
    	for k := range expectedMap {
    		if v, ok := res.Header[k]; !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  9. src/bytes/example_test.go

    	// ХЛЕБ
    }
    
    func ExampleToTitleSpecial() {
    	str := []byte("ahoj vývojári golang")
    	totitle := bytes.ToTitleSpecial(unicode.AzeriCase, str)
    	fmt.Println("Original : " + string(str))
    	fmt.Println("ToTitle : " + string(totitle))
    	// Output:
    	// Original : ahoj vývojári golang
    	// ToTitle : AHOJ VÝVOJÁRİ GOLANG
    }
    
    func ExampleToValidUTF8() {
    	fmt.Printf("%s\n", bytes.ToValidUTF8([]byte("abc"), []byte("\uFFFD")))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  10. src/archive/tar/format.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package tar
    
    import "strings"
    
    // Format represents the tar archive format.
    //
    // The original tar format was introduced in Unix V7.
    // Since then, there have been multiple competing formats attempting to
    // standardize or extend the V7 format to overcome its limitations.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
Back to top