Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 871 for Dealer (0.14 sec)

  1. tests/test_tutorial/test_bigger_applications/test_main_an.py

        assert response.status_code == 400
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    def test_items_bar_with_invalid_token(client: TestClient):
        response = client.get("/items/bar?token=jessica", headers={"X-Token": "invalid"})
        assert response.status_code == 400
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    def test_items_with_missing_x_token_header(client: TestClient):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. src/net/http/cgi/host.go

    			sawBlankLine = true
    			break
    		}
    		headerLines++
    		header, val, ok := strings.Cut(string(line), ":")
    		if !ok {
    			h.printf("cgi: bogus header line: %s", line)
    			continue
    		}
    		if !httpguts.ValidHeaderFieldName(header) {
    			h.printf("cgi: invalid header name: %q", header)
    			continue
    		}
    		val = textproto.TrimString(val)
    		switch {
    		case header == "Status":
    			if len(val) < 3 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. src/net/http/pprof/pprof.go

    		rc := http.NewResponseController(w)
    		rc.SetWriteDeadline(time.Now().Add(timeout))
    	}
    }
    
    func serveError(w http.ResponseWriter, status int, txt string) {
    	w.Header().Set("Content-Type", "text/plain; charset=utf-8")
    	w.Header().Set("X-Go-Pprof", "1")
    	w.Header().Del("Content-Disposition")
    	w.WriteHeader(status)
    	fmt.Fprintln(w, txt)
    }
    
    // Profile responds with the pprof-formatted cpu profile.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:34:05 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. docs/config/README.md

    `max_io` values thereby increasing the healing speed. The delays between each operation of the healer can be adjusted by the `mc admin config set alias/ heal max_sleep=1s` and maximum concurrent requests allowed before we start slowing things down can be configured with `mc admin config set alias/ heal max_io=30` . By default the wait delay is `250ms` beyond 100 concurrent operations. This means the healer will sleep *250 milliseconds* at max for each heal operation if there are more than *100* concurrent...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 11 21:48:54 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  5. src/net/http/request_test.go

    }
    
    var readRequestErrorTests = []struct {
    	in  string
    	err string
    
    	header Header
    }{
    	0: {"GET / HTTP/1.1\r\nheader:foo\r\n\r\n", "", Header{"Header": {"foo"}}},
    	1: {"GET / HTTP/1.1\r\nheader:foo\r\n", io.ErrUnexpectedEOF.Error(), nil},
    	2: {"", io.EOF.Error(), nil},
    	3: {
    		in:     "HEAD / HTTP/1.1\r\n\r\n",
    		header: Header{},
    	},
    
    	// Multiple Content-Length values should either be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppIncrementalBuildIntegrationTest.groovy

            succeeds installApp
    
            then:
            allSkipped()
        }
    
        @ToBeFixedForConfigurationCache
        def "can reference a missing header file"() {
            def header = file("app/src/main/headers/hello.h")
    
            when:
            header << """
                #pragma once
                #define MESSAGE "hello"
                #if 0
                #include "missing.h"
                #endif
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 40.4K bytes
    - Viewed (0)
  7. docs/de/docs/index.md

        * Automatische und eindeutige Fehler, wenn die Daten ungültig sind.
        * Validierung auch für tief verschachtelte JSON-Objekte.
    * <abbr title="auch bekannt als: Serialisierung, Parsen, Marshalling">Konvertierung</abbr> von Eingabedaten: Aus dem Netzwerk kommend, zu Python-Daten und -Typen. Lesen von:
        * JSON.
        * Pfad-Parametern.
        * Abfrage-Parametern.
        * Cookies.
        * Header-Feldern.
        * Formularen.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2_test.go

    			return xl.versions[i].header.ModTime > xl.versions[j].header.ModTime
    		}) {
    			t.Errorf("Contents not sorted")
    		}
    		for i := range xl.versions {
    			hdr := xl.versions[i].header
    			ver, err := xl.getIdx(i)
    			if err != nil {
    				t.Error(err)
    				continue
    			}
    			gotHdr := ver.header()
    			if hdr != gotHdr {
    				t.Errorf("Header does not match, index: %+v != meta: %+v", hdr, gotHdr)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  9. cmd/signature-v4-utils_test.go

    	}
    
    	// "x-amz-content-sha256" header value from the extracted result.
    	extractedContentSha256 := extractedSignedHeaders.Get("x-amz-content-sha256")
    	// "host" header value from the extracted result.
    	extractedHost := extractedSignedHeaders.Get("host")
    	//  "x-amz-date" header from the extracted result.
    	extractedDate := extractedSignedHeaders.Get("x-amz-date")
    	// extracted `expect` header.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/http2/hpack/hpack.go

    type HeaderField struct {
    	Name, Value string
    
    	// Sensitive means that this header field should never be
    	// indexed.
    	Sensitive bool
    }
    
    // IsPseudo reports whether the header field is an http2 pseudo header.
    // That is, it reports whether it starts with a colon.
    // It is not otherwise guaranteed to be a valid pseudo header field,
    // though.
    func (hf HeaderField) IsPseudo() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 14 18:30:34 UTC 2023
    - 14.7K bytes
    - Viewed (0)
Back to top