Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for StatusNoContent (0.15 sec)

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

    	// and api error codes
    	// Note that if we specify a versioned Status object here, we may need to
    	// create one for the tests, also
    	// Success:
    	// http.StatusOK, http.StatusCreated, http.StatusAccepted, http.StatusNoContent
    	//
    	// test/integration/auth_test.go is currently the most comprehensive status code test
    
    	for _, s := range a.group.Serializer.SupportedMediaTypes() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  2. src/net/http/client_test.go

    func testClientCallsCloseOnlyOnce(t *testing.T, mode testMode) {
    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		w.WriteHeader(StatusNoContent)
    	}))
    
    	// Issue occurred non-deterministically: needed to occur after a successful
    	// write (into TCP buffer) but before end of body.
    	for i := 0; i < 50 && !t.Failed(); i++ {
    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