Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testClientRedirects (0.31 sec)

  1. src/net/http/client_test.go

    	}
    	if g := string(bodyb); g != expectedBody && g != expectedBody1 {
    		t.Errorf("got body %q, want %q or %q", g, expectedBody, expectedBody1)
    	}
    }
    
    func TestClientRedirects(t *testing.T) { run(t, testClientRedirects) }
    func testClientRedirects(t *testing.T, mode testMode) {
    	var ts *httptest.Server
    	ts = newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		n, _ := strconv.Atoi(r.FormValue("n"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top