Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testHeadResponses (0.12 sec)

  1. src/net/http/serve_test.go

    		t.Fatalf("response 1 addr = %q; want %q", g, e)
    	}
    }
    
    // TestHeadResponses verifies that all MIME type sniffing and Content-Length
    // counting of GET requests also happens on HEAD requests.
    func TestHeadResponses(t *testing.T) { run(t, testHeadResponses) }
    func testHeadResponses(t *testing.T, mode testMode) {
    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top