Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for StatusUnprocessableEntity (0.34 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/policy_decision.go

    	case metav1.StatusReasonRequestEntityTooLarge:
    		return http.StatusRequestEntityTooLarge
    	case metav1.StatusReasonInvalid:
    		return http.StatusUnprocessableEntity
    	default:
    		// It should not reach here since we only allow above reason to be set from API level
    		return http.StatusUnprocessableEntity
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/net/http/status.go

    	StatusExpectationFailed            = 417 // RFC 9110, 15.5.18
    	StatusTeapot                       = 418 // RFC 9110, 15.5.19 (Unused)
    	StatusMisdirectedRequest           = 421 // RFC 9110, 15.5.20
    	StatusUnprocessableEntity          = 422 // RFC 9110, 15.5.21
    	StatusLocked                       = 423 // RFC 4918, 11.3
    	StatusFailedDependency             = 424 // RFC 4918, 11.4
    	StatusTooEarly                     = 425 // RFC 8470, 5.2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 10 23:30:35 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/patchhandler_test.go

    	request.Header.Set("Content-Type", "application/merge-patch+json; charset=UTF-8")
    	response, err := client.Do(request)
    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    	if response.StatusCode != http.StatusUnprocessableEntity {
    		t.Errorf("Unexpected response %#v", response)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 14 10:11:56 UTC 2022
    - 5K bytes
    - Viewed (0)
  4. api/go1.7.txt

    pkg net/http, const StatusPermanentRedirect ideal-int
    pkg net/http, const StatusProcessing = 102
    pkg net/http, const StatusProcessing ideal-int
    pkg net/http, const StatusUnprocessableEntity = 422
    pkg net/http, const StatusUnprocessableEntity ideal-int
    pkg net/http, const StatusUpgradeRequired = 426
    pkg net/http, const StatusUpgradeRequired ideal-int
    pkg net/http, const StatusVariantAlsoNegotiates = 506
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 28 15:08:11 UTC 2016
    - 13.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/errors/errors.go

    			Type:    metav1.CauseType(err.Type),
    			Message: err.ErrorBody(),
    			Field:   err.Field,
    		})
    	}
    	err := &StatusError{metav1.Status{
    		Status: metav1.StatusFailure,
    		Code:   http.StatusUnprocessableEntity,
    		Reason: metav1.StatusReasonInvalid,
    		Details: &metav1.StatusDetails{
    			Group:  qualifiedKind.Group,
    			Kind:   qualifiedKind.Kind,
    			Name:   name,
    			Causes: causes,
    		},
    	}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 21 03:41:32 UTC 2022
    - 30.5K bytes
    - Viewed (0)
  6. cmd/object-lambda-handlers.go

    	"I'm a teapot":                    http.StatusTeapot,
    	"Misdirected Request":             http.StatusMisdirectedRequest,
    	"Unprocessable Entity":            http.StatusUnprocessableEntity,
    	"Locked":                          http.StatusLocked,
    	"Failed Dependency":               http.StatusFailedDependency,
    	"Too Early":                       http.StatusTooEarly,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go

    					maxJSONPatchOperations, len(patchObj)))
    		}
    		patchedJS, err := patchObj.Apply(versionedJS)
    		if err != nil {
    			return nil, nil, errors.NewGenericServerResponse(http.StatusUnprocessableEntity, "", schema.GroupResource{}, "", err.Error(), 0, false)
    		}
    		return patchedJS, strictErrors, nil
    	case types.MergePatchType:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. pkg/kubelet/server/server.go

    		return
    	}
    	logOptions.TypeMeta = metav1.TypeMeta{}
    	if errs := validation.ValidatePodLogOptions(logOptions); len(errs) > 0 {
    		response.WriteError(http.StatusUnprocessableEntity, fmt.Errorf(`{"message": "Invalid request."}`))
    		return
    	}
    
    	pod, ok := s.host.GetPodByName(podNamespace, podID)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  9. pilot/pkg/xds/debug.go

    						resourceID, knownVersions),
    				})
    			}
    			con.proxy.RUnlock()
    		}
    
    		writeJSON(w, results, req)
    	} else {
    		w.WriteHeader(http.StatusUnprocessableEntity)
    		_, _ = fmt.Fprintf(w, "querystring parameter 'resource' is required\n")
    	}
    }
    
    // VersionLen is the Config Version and is only used as the nonce prefix, but we can reconstruct
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    			{name: "merge-patch-warn-validation", path: "/namespaces/default/simples/id", verb: "PATCH", data: invalidMergePatch, queryParams: warnFieldValidation, contentType: "application/merge-patch+json;...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
Back to top