Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for shouldCopyHeaderOnRedirect (0.17 sec)

  1. src/net/http/client_test.go

    			t.Errorf("%d. dest URL %q parse error: %v", i, tt.destURL, err)
    			continue
    		}
    		got := Export_shouldCopyHeaderOnRedirect(tt.header, u0, u1)
    		if got != tt.want {
    			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) }
    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