Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testH12_noBody (0.18 sec)

  1. src/net/http/clientserver_test.go

    	h12Compare{Handler: func(w ResponseWriter, r *Request) {}}.run(t)
    }
    
    func TestH2_204NoBody(t *testing.T) { testH12_noBody(t, 204) }
    func TestH2_304NoBody(t *testing.T) { testH12_noBody(t, 304) }
    func TestH2_404NoBody(t *testing.T) { testH12_noBody(t, 404) }
    
    func testH12_noBody(t *testing.T, status int) {
    	h12Compare{Handler: func(w ResponseWriter, r *Request) {
    		w.WriteHeader(status)
    	}}.run(t)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
Back to top