Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NothingWrittenNoBody (6.78 sec)

  1. src/net/http/transport_test.go

    			},
    			reqString: `GET / HTTP/1.1\r\nHost: fake.golang\r\nUser-Agent: Go-http-client/1.1\r\nContent-Length: 4\r\nAccept-Encoding: gzip\r\n\r\nfoo\n`,
    		},
    		{
    			name: "NothingWrittenNoBody",
    			// It's key that we return 0 here -- that's what enables Transport to know
    			// that nothing was written, even though this is a non-idempotent request.
    			failureN:   0,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top