Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for Dealer (0.27 sec)

  1. src/net/http/transport.go

    	}
    	if req.Header == nil {
    		req.closeBody()
    		return nil, errors.New("http: nil Request.Header")
    	}
    	scheme := req.URL.Scheme
    	isHTTP := scheme == "http" || scheme == "https"
    	if isHTTP {
    		// Validate the outgoing headers.
    		if err := validateHeaders(req.Header); err != "" {
    			req.closeBody()
    			return nil, fmt.Errorf("net/http: invalid header %s", err)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  2. src/net/http/client_test.go

    		}
    		if !reflect.DeepEqual(r.Header, want) {
    			t.Errorf("CheckRedirect Request.Header = %#v; want %#v", r.Header, want)
    		}
    		return nil
    	}
    
    	req, _ := NewRequest("GET", ts2.URL, nil)
    	req.Header.Add("User-Agent", ua)
    	req.Header.Add("X-Foo", xfoo)
    	req.Header.Add("Cookie", "foo=bar")
    	req.Header.Add("Authorization", "secretpassword")
    	res, err := c.Do(req)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  3. src/crypto/tls/conn.go

    	// clientProtocol is the negotiated ALPN protocol.
    	clientProtocol string
    
    	// input/output
    	in, out   halfConn
    	rawInput  bytes.Buffer // raw input, starting with a record header
    	input     bytes.Reader // application data waiting to be read, from rawInput.Next
    	hand      bytes.Buffer // handshake data waiting to be read
    	buffering bool         // whether records are buffered in sendBuf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  4. src/net/http/httputil/reverseproxy_test.go

    		}
    		if c := r.Header.Get("Proxy-Connection"); c != "" {
    			t.Errorf("handler got Proxy-Connection header value %q", c)
    		}
    		if g, e := r.Host, "some-name"; g != e {
    			t.Errorf("backend got Host header %q, want %q", g, e)
    		}
    		w.Header().Set("Trailers", "not a special header field name")
    		w.Header().Set("Trailer", "X-Trailer")
    		w.Header().Set("X-Foo", "bar")
    		w.Header().Set("Upgrade", "foo")
    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. pilot/pkg/networking/core/route/route_test.go

    		g.Expect(len(routes)).To(Equal(1))
    		g.Expect(routes[0].GetMatch().GetHeaders()[0].GetName()).To(Equal("FOO-HEADER"))
    		g.Expect(routes[0].GetMatch().GetHeaders()[0].GetPresentMatch()).To(Equal(true))
    		g.Expect(routes[0].GetMatch().GetHeaders()[0].GetInvertMatch()).To(Equal(false))
    	})
    
    	t.Run("for virtual service with presence matching on header and without_header", func(t *testing.T) {
    		g := NewWithT(t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  6. src/net/http/request.go

    	ProtoMinor int    // 0
    
    	// Header contains the request header fields either received
    	// by the server or to be sent by the client.
    	//
    	// If a server received a request with header lines,
    	//
    	//	Host: example.com
    	//	accept-encoding: gzip, deflate
    	//	Accept-Language: en-us
    	//	fOO: Bar
    	//	foo: two
    	//
    	// then
    	//
    	//	Header = map[string][]string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  7. src/net/dnsclient_unix_test.go

    			if q.Questions[0].Name.String() == "notrustad.go.dev." && q.Header.AuthenticData {
    				t.Error("unexpected AD bit")
    			}
    
    			if q.Questions[0].Name.String() == "trustad.go.dev." && !q.Header.AuthenticData {
    				t.Error("expected AD bit")
    			}
    
    			r := dnsmessage.Message{
    				Header: dnsmessage.Header{
    					ID:       q.Header.ID,
    					Response: true,
    					RCode:    dnsmessage.RCodeSuccess,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2.go

    					case !strict && ver.header.matchesNotStrict(latest.header):
    						latestCount++
    					default:
    						latestCount = 1
    					}
    					latest = ver
    					continue
    				}
    
    				// Mismatch, but older.
    				if latestCount > 0 && !strict && ver.header.matchesNotStrict(latest.header) {
    					latestCount++
    					continue
    				}
    				if latestCount > 0 && ver.header.VersionID == latest.header.VersionID {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    	if p.off, err = p.header.unpack(msg, 0); err != nil {
    		return Header{}, &nestedError{"unpacking header", err}
    	}
    	p.section = sectionQuestions
    	return p.header.header(), nil
    }
    
    func (p *Parser) checkAdvance(sec section) error {
    	if p.section < sec {
    		return ErrNotStarted
    	}
    	if p.section > sec {
    		return ErrSectionDone
    	}
    	p.resHeaderValid = false
    	if p.index == int(p.header.count(sec)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  10. src/bufio/bufio_test.go

    type bufReader struct {
    	name string
    	fn   func(*Reader) string
    }
    
    var bufreaders = []bufReader{
    	{"1", func(b *Reader) string { return reads(b, 1) }},
    	{"2", func(b *Reader) string { return reads(b, 2) }},
    	{"3", func(b *Reader) string { return reads(b, 3) }},
    	{"4", func(b *Reader) string { return reads(b, 4) }},
    	{"5", func(b *Reader) string { return reads(b, 5) }},
    	{"7", func(b *Reader) string { return reads(b, 7) }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
Back to top