Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 150 for 7230 (0.14 sec)

  1. src/net/http/h2_bundle.go

    	if v < 0 || v > 2147483647 {
    		panic("out of range")
    	}
    	return uint32(v)
    }
    
    // bodyAllowedForStatus reports whether a given response status code
    // permits a body. See RFC 7230, section 3.3.
    func http2bodyAllowedForStatus(status int) bool {
    	switch {
    	case status >= 100 && status <= 199:
    		return false
    	case status == 204:
    		return false
    	case status == 304:
    		return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  2. src/net/http/transport.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // HTTP client implementation. See RFC 7230 through 7235.
    //
    // This is the low-level Transport implementation of RoundTripper.
    // The high-level interface is in client.go.
    
    package http
    
    import (
    	"bufio"
    	"compress/gzip"
    	"container/list"
    	"context"
    	"crypto/tls"
    	"errors"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  3. src/net/http/serve_test.go

    		{"Foo: " + strings.Repeat("x", 1<<21) + "\r\n", 431}, // header too large
    		// Spaces between the header key and colon are not allowed.
    		// See RFC 7230, Section 3.2.4.
    		{"Foo : bar\r\n", 400},
    		{"Foo\t: bar\r\n", 400},
    
    		// Empty header keys are invalid.
    		// See RFC 7230, Section 3.2.
    		{": empty key\r\n", 400},
    
    		// Requests with invalid Content-Length headers should be rejected
    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/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)
  5. src/cmd/compile/internal/syntax/parser_test.go

    		{"//line :123:0\n", "invalid column number: 0", filename, 1, 13},
    		{"//line foo:123:0\n", "invalid column number: 0", filename, 1, 16},
    		{fmt.Sprintf("//line foo:10:%d\n", tooLarge), fmt.Sprintf("invalid column number: %d", tooLarge), filename, 1, 15},
    
    		// effect of valid //line directives on lines
    		{"//line foo:123\n   foo", valid, "foo", 123, 0},
    		{"//line  foo:123\n   foo", valid, " foo", 123, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 16:30:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. test/fixedbugs/bug465.go

    // rundir
    
    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 4230: inlining bug for composite literal in
    // if, for, switch statements.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 272 bytes
    - Viewed (0)
Back to top