Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for 7230 (0.11 sec)

  1. src/vendor/golang.org/x/net/http/httpguts/guts.go

    package httpguts
    
    import (
    	"net/textproto"
    	"strings"
    )
    
    // ValidTrailerHeader reports whether name is a valid header field name to appear
    // in trailers.
    // See RFC 7230, Section 4.1.2
    func ValidTrailerHeader(name string) bool {
    	name = textproto.CanonicalMIMEHeaderKey(name)
    	if strings.HasPrefix(name, "If-") || badTrailer[name] {
    		return false
    	}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 20:28:54 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/http/httpguts/httplex.go

    	for _, v := range values {
    		if headerValueContainsToken(v, token) {
    			return true
    		}
    	}
    	return false
    }
    
    // isOWS reports whether b is an optional whitespace byte, as defined
    // by RFC 7230 section 3.2.3.
    func isOWS(b byte) bool { return b == ' ' || b == '\t' }
    
    // trimOWS returns x with all optional whitespace removes from the
    // beginning and end.
    func trimOWS(x string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. src/net/http/httptest/httptest.go

    }
    
    // NewRequestWithContext returns a new incoming server Request, suitable
    // for passing to an [http.Handler] for testing.
    //
    // The target is the RFC 7230 "request-target": it may be either a
    // path or an absolute URL. If target is an absolute URL, the host name
    // from the URL is used. Otherwise, "example.com" is used.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 18:09:14 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Protocol.kt

       */
      HTTP_1_0("http/1.0"),
    
      /**
       * A plaintext framing that includes persistent connections.
       *
       * This version of OkHttp implements [RFC 7230][rfc_7230], and tracks revisions to that spec.
       *
       * [rfc_7230]: https://tools.ietf.org/html/rfc7230
       */
      HTTP_1_1("http/1.1"),
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:17:33 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/net/http/httptest/recorder.go

    		for _, k := range trailers {
    			for _, k := range strings.Split(k, ",") {
    				k = http.CanonicalHeaderKey(textproto.TrimString(k))
    				if !httpguts.ValidTrailerHeader(k) {
    					// Ignore since forbidden by RFC 7230, section 4.1.2.
    					continue
    				}
    				vv, ok := rw.HeaderMap[k]
    				if !ok {
    					continue
    				}
    				vv2 := make([]string, len(vv))
    				copy(vv2, vv)
    				res.Trailer[k] = vv2
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. pkg/env/var_test.go

    	reset()
    
    	ev := RegisterFloatVar(testVar, 123.0, "")
    	v, present := ev.Lookup()
    	if v != 123.0 {
    		t.Errorf("Expected 123.0, got %v", v)
    	}
    	if present {
    		t.Errorf("Expected not present")
    	}
    
    	v = ev.Get()
    	if v != 123.0 {
    		t.Errorf("Expected 123.0, got %v", v)
    	}
    
    	_ = os.Setenv(testVar, "XXX")
    
    	ev = RegisterFloatVar(testVar, 123.0, "")
    	v, present = ev.Lookup()
    	if v != 123.0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_import_toolchain.txt

    go: trying upgrade to example.net/d@v0.2.0
    go: module ./d2 requires go >= 1.23.0; switching to go1.23.9
    go: trying upgrade to example.net/a@v0.2.0
    go: trying upgrade to example.net/b@v0.1.0
    go: accepting indirect upgrade from go@1.20 to 1.22.0
    go: trying upgrade to example.net/c@v0.1.0
    go: trying upgrade to example.net/d@v0.2.0
    go: accepting indirect upgrade from go@1.22.0 to 1.23.0
    go: upgraded go 1.20 => 1.23.0
    go: added toolchain go1.23.9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. src/net/platform_test.go

    		// instead of everytime testableNetwork is called.
    		out, _ := exec.Command("oslevel", "-s").Output()
    		if len(out) >= len("7200-XX-ZZ-YYMM") { // AIX 7.2, Tech Level XX, Service Pack ZZ, date YYMM
    			aixVer := string(out[:4])
    			tl, _ := strconv.Atoi(string(out[5:7]))
    			unixEnabledOnAIX = aixVer > "7200" || (aixVer == "7200" && tl >= 2)
    		}
    	}
    }
    
    // testableNetwork reports whether network is testable on the current
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. doc/next/6-stdlib/1-time.md

    is in a module with a `go.mod` `go` line using Go 1.23.0 or later.
    When Go 1.23 builds older programs, the old behaviors remain in effect.
    The new [GODEBUG setting](/doc/godebug) [`asynctimerchan=1`](/pkg/time/#NewTimer)
    can be used to revert back to asynchronous channel behaviors
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 20:49:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. pyproject.toml

    Documentation = "https://fastapi.tiangolo.com/"
    Repository = "https://github.com/tiangolo/fastapi"
    
    [project.optional-dependencies]
    
    standard = [
        "fastapi-cli >=0.0.2",
        # For the test client
        "httpx >=0.23.0",
        # For templates
        "jinja2 >=2.11.2",
        # For forms and file uploads
        "python-multipart >=0.0.7",
        # For UJSONResponse
        "ujson >=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top