Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/net/http/status.go

    	StatusOK                   = 200 // RFC 9110, 15.3.1
    	StatusCreated              = 201 // RFC 9110, 15.3.2
    	StatusAccepted             = 202 // RFC 9110, 15.3.3
    	StatusNonAuthoritativeInfo = 203 // RFC 9110, 15.3.4
    	StatusNoContent            = 204 // RFC 9110, 15.3.5
    	StatusResetContent         = 205 // RFC 9110, 15.3.6
    	StatusPartialContent       = 206 // RFC 9110, 15.3.7
    	StatusMultiStatus          = 207 // RFC 4918, 11.1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 10 23:30:35 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/cors.go

    		w.Header().Set("Access-Control-Allow-Credentials", allowCredentials)
    
    		// Stop here if its a preflight OPTIONS request
    		if req.Method == "OPTIONS" {
    			w.WriteHeader(http.StatusNoContent)
    			return
    		}
    
    		// Dispatch to the next handler
    		handler.ServeHTTP(w, req)
    	})
    }
    
    // isOriginAllowed returns true if the given origin header in the
    // request is allowed CORS.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 15 13:59:10 UTC 2022
    - 4.6K bytes
    - Viewed (0)
Back to top