Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/net/http/cgi/host_test.go

    	rw := httptest.NewRecorder()
    	req := newRequest(httpreq)
    	h.ServeHTTP(rw, req)
    	runResponseChecks(t, rw, expectedMap, checks...)
    	return rw
    }
    
    func runResponseChecks(t *testing.T, rw *httptest.ResponseRecorder,
    	expectedMap map[string]string, checks ...func(reqInfo map[string]string)) {
    	// Make a map to hold the test map that the CGI returns.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 18:29:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top