Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestClientRedirectTypes (0.14 sec)

  1. src/net/http/client_test.go

    			t.Errorf("%d. shouldCopyHeaderOnRedirect(%q, %q => %q) = %v; want %v",
    				i, tt.header, tt.initialURL, tt.destURL, got, tt.want)
    		}
    	}
    }
    
    func TestClientRedirectTypes(t *testing.T) { run(t, testClientRedirectTypes) }
    func testClientRedirectTypes(t *testing.T, mode testMode) {
    	tests := [...]struct {
    		method       string
    		serverStatus int
    		wantMethod   string // desired subsequent client method
    	}{
    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