Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for headerv3 (0.18 sec)

  1. tests/integration/pilot/common/routing.go

    		opts.To = nil
    	}
    	// allows setting the target indirectly via the host header
    	fqdnHostHeader := func(src echo.Caller, opts *echo.CallOptions) {
    		if opts.HTTP.Headers == nil {
    			opts.HTTP.Headers = make(http.Header)
    		}
    		opts.HTTP.Headers.Set(headers.Host, opts.To.Config().ClusterLocalFQDN())
    		noTarget(src, opts)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

        assertThat(connect.headers["Proxy-Connection"]).isEqualTo("Keep-Alive")
        assertThat(connect.headers["Host"]).isEqualTo("android.com:443")
        val get = server.takeRequest()
        assertThat(get.headers["Private"]).isEqualTo("Secret")
        assertThat(get.headers["User-Agent"]).isEqualTo("App 1.0")
        assertThat(hostnameVerifier.calls).containsExactly("verify android.com")
      }
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  3. src/net/http/serve_test.go

    		ts.Close()
    	}()
    
    	c := ts.Client()
    
    	mustGet := func(url string, headers ...string) {
    		t.Helper()
    		req, err := NewRequest("GET", url, nil)
    		if err != nil {
    			t.Fatal(err)
    		}
    		for len(headers) > 0 {
    			req.Header.Add(headers[0], headers[1])
    			headers = headers[2:]
    		}
    		res, err := c.Do(req)
    		if err != nil {
    			t.Errorf("Error fetching %s: %v", url, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  4. pkg/config/validation/validation.go

    func ValidateHTTPHeaderWithAuthorityOperationName(name string) error {
    	if name == "" {
    		return fmt.Errorf("header name cannot be empty")
    	}
    	// Authority header is validated later
    	if isInternalHeader(name) && !isAuthorityHeader(name) {
    		return fmt.Errorf(`invalid header %q: header cannot have ":" prefix`, name)
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    func (z BaseOptions) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 0
    	_ = z
    	err = en.Append(0x80)
    	if err != nil {
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z BaseOptions) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 0
    	_ = z
    	o = append(o, 0x80)
    	return
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
  6. pkg/config/validation/validation_test.go

    			AllowMethods:  []string{"GET", "POST"},
    			AllowHeaders:  []string{"header1", "header2"},
    			ExposeHeaders: []string{"header3"},
    			MaxAge:        &durationpb.Duration{Seconds: 2},
    		}, valid: true},
    		{name: "bad method", in: &networking.CorsPolicy{
    			AllowMethods:  []string{"GET", "PUTT"},
    			AllowHeaders:  []string{"header1", "header2"},
    			ExposeHeaders: []string{"header3"},
    			MaxAge:        &durationpb.Duration{Seconds: 2},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/exec.go

    // expect to be able to access the cgo-generated header file.
    func (b *Builder) needCgoHdr(a *Action) bool {
    	// If this build triggers a header install, run cgo to get the header.
    	if !b.IsCmdList && (a.Package.UsesCgo() || a.Package.UsesSwig()) && (cfg.BuildBuildmode == "c-archive" || cfg.BuildBuildmode == "c-shared") {
    		for _, t1 := range a.triggers {
    			if t1.Mode == "install header" {
    				return true
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__certificates.k8s.io__v1_openapi.json

    cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty.\n\nValidation requirements:\n 1. certificate must contain one or more PEM blocks.\n 2. All PEM blocks must have the \"CERTIFICATE\" label, contain no headers, and the encoded data\n  must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.\n 3. Non-PEM content may appear before or after the \"CERTIFICATE\" PEM blocks and is unvalidated,\n  to allow for explanatory text as...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 151.7K bytes
    - Viewed (0)
  9. src/debug/elf/elf.go

    	Ehsize    uint16          /* Size of ELF header in bytes. */
    	Phentsize uint16          /* Size of program header entry. */
    	Phnum     uint16          /* Number of program header entries. */
    	Shentsize uint16          /* Size of section header entry. */
    	Shnum     uint16          /* Number of section header entries. */
    	Shstrndx  uint16          /* Section name strings section. */
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  10. src/net/http/server.go

    	// Any number of 1xx headers may be written, followed by at most
    	// one 2xx-5xx header. 1xx headers are sent immediately, but 2xx-5xx
    	// headers may be buffered. Use the Flusher interface to send
    	// buffered data. The header map is cleared when 2xx-5xx headers are
    	// sent, but not with 1xx headers.
    	//
    	// The server will automatically send a 100 (Continue) header
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top