Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DefaultClient (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    			continue
    		}
    		// It's necessary to manually set Accept-Encoding here
    		// to prevent http.DefaultClient from automatically
    		// decoding responses
    		req.Header.Set("Accept-Encoding", testCase.acceptEncoding)
    		resp, err := http.DefaultClient.Do(req)
    		if err != nil {
    			t.Errorf("%d: unexpected error: %v", i, err)
    			continue
    		}
    		defer resp.Body.Close()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    							Prefix: pointer.String("prefix:"),
    						},
    					},
    				},
    				SupportedSigningAlgs: []string{"RS256"},
    				now:                  func() time.Time { return now },
    				Client:               http.DefaultClient, // test automatically sets CAContentProvider
    			},
    			pubKeys: []*jose.JSONWebKey{
    				loadRSAKey(t, "testdata/rsa_1.pem", jose.RS256),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
Back to top