Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Response (0.56 sec)

  1. src/cmd/go/internal/modfetch/codehost/vcs.go

    			f := strings.Fields(line)
    			if len(f) != 5 || len(f[1]) != 40 || f[4] != "UTC" {
    				return nil, vcsErrorf("unexpected response from fossil info: %q", line)
    			}
    			t, err := time.Parse(time.DateTime, f[2]+" "+f[3])
    			if err != nil {
    				return nil, vcsErrorf("unexpected response from fossil info: %q", line)
    			}
    			hash := f[1]
    			version := rev
    			if strings.HasPrefix(hash, version) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. api/go1.7.txt

    pkg net/http, method (*Request) Context() context.Context
    pkg net/http, method (*Request) WithContext(context.Context) *Request
    pkg net/http, type Request struct, Response *Response
    pkg net/http, type Response struct, Uncompressed bool
    pkg net/http, type Transport struct, DialContext func(context.Context, string, string) (net.Conn, error)
    pkg net/http, type Transport struct, IdleConnTimeout time.Duration
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 28 15:08:11 UTC 2016
    - 13.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/debug_test.go

    		if cr == -1 {
    			response = strings.TrimSpace(response) // discards trailing newline
    			response = strings.Replace(response, "\n", "<BR>", -1)
    			return "$ Malformed response " + response
    		}
    		response = strings.TrimSpace(response[:cr])
    		return "$ " + response
    	}
    	if cr == -1 {
    		cr = len(response)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/cache/prog.go

    	BodySize int64 `json:",omitempty"`
    }
    
    // ProgResponse is the JSON response from the child process to cmd/go.
    //
    // With the exception of the first protocol message that the child writes to its
    // stdout with ID==0 and KnownCommands populated, these are only sent in
    // response to a ProgRequest from cmd/go.
    //
    // ProgResponses can be sent in any order. The ID must match the request they're
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 19:23:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modfetch/codehost/git.go

    			info = r.unknownRevisionInfo(refs)
    		}
    		return info, &UnknownRevisionError{Rev: rev}
    	}
    	f := strings.Fields(string(out))
    	if len(f) < 2 {
    		return nil, fmt.Errorf("unexpected response from git log: %q", out)
    	}
    	hash := f[0]
    	if strings.HasPrefix(hash, version) {
    		version = hash // extend to full hash
    	}
    	t, err := strconv.ParseInt(f[1], 10, 64)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/proxy.go

    	if err != nil {
    		return nil, p.versionError(rev, err)
    	}
    	info := new(RevInfo)
    	if err := json.Unmarshal(data, info); err != nil {
    		return nil, p.versionError(rev, fmt.Errorf("invalid response from proxy %q: %w", p.redactedBase, err))
    	}
    	if info.Version != rev && rev == module.CanonicalVersion(rev) && module.Check(p.path, rev) == nil {
    		// If we request a correct, appropriate version for the module path, the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 03 15:21:05 UTC 2023
    - 13K bytes
    - Viewed (0)
  7. doc/go_mem.html

    execute in a sequentially consistent manner.
    </p>
    
    <p>
    While programmers should write Go programs without data races,
    there are limitations to what a Go implementation can do in response to a data race.
    An implementation may always react to a data race by reporting the race and terminating the program.
    Otherwise, each read of a single-word-sized or sub-word-sized memory location
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  8. doc/godebug.md

    The default is tlsmaxrsasize=8192, limiting RSA to 8192-bit keys. To avoid
    denial of service attacks, this setting and default was backported to Go
    1.19.13, Go 1.20.8, and Go 1.21.1.
    
    Go 1.22 made it an error for a request or response read by a net/http
    client or server to have an empty Content-Length header.
    This behavior is controlled by the `httplaxcontentlength` setting.
    
    Go 1.22 changed the behavior of ServeMux to accept extended
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  9. api/go1.8.txt

    pkg net/http/httptrace, type ClientTrace struct, TLSHandshakeStart func()
    pkg net/http/httputil, type ReverseProxy struct, ModifyResponse func(*http.Response) error
    pkg net/http, method (*Server) Close() error
    pkg net/http, method (*Server) Shutdown(context.Context) error
    pkg net/http, type Pusher interface { Push }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
  10. src/cmd/go/proxy_test.go

    func proxyHandler(w http.ResponseWriter, r *http.Request) {
    	if !strings.HasPrefix(r.URL.Path, "/mod/") {
    		http.NotFound(w, r)
    		return
    	}
    	path := r.URL.Path[len("/mod/"):]
    
    	// /mod/invalid returns faulty responses.
    	if strings.HasPrefix(path, "invalid/") {
    		w.Write([]byte("invalid"))
    		return
    	}
    
    	// Next element may opt into special behavior.
    	if j := strings.Index(path, "/"); j >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 03 09:56:24 UTC 2023
    - 12K bytes
    - Viewed (0)
Back to top