Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestClientAltersCookiesOnRedirect (0.19 sec)

  1. src/net/http/client_test.go

    		t.Errorf("body = %q; want %q", got, wantBody)
    	}
    }
    
    // Issue 17494: cookies should be altered when Client follows redirects.
    func TestClientAltersCookiesOnRedirect(t *testing.T) { run(t, testClientAltersCookiesOnRedirect) }
    func testClientAltersCookiesOnRedirect(t *testing.T, mode testMode) {
    	cookieMap := func(cs []*Cookie) map[string][]string {
    		m := make(map[string][]string)
    		for _, c := range cs {
    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