Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for BadRequest (0.39 sec)

  1. cmd/handler-utils.go

    			Code:           "XMinioAdminVersionMismatch",
    			Description:    desc,
    			HTTPStatusCode: http.StatusUpgradeRequired,
    		}, r.URL)
    	default:
    		writeErrorResponse(r.Context(), w, APIError{
    			Code: "BadRequest",
    			Description: fmt.Sprintf("An error occurred when parsing the HTTP request %s at '%s'",
    				r.Method, r.URL.Path),
    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. pkg/registry/core/pod/storage/eviction_test.go

    			eviction:     &policy.Eviction{ObjectMeta: metav1.ObjectMeta{Name: "t7", Namespace: "default"}, DeleteOptions: metav1.NewDeleteOptions(0)},
    			expectError:  "name in URL does not match name in Eviction object: BadRequest",
    			podName:      "t7",
    		},
    		{
    			name: "matching pdbs with no disruptions allowed, pod running, empty selector",
    			pdbs: []runtime.Object{&policyv1.PodDisruptionBudget{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    		Code:           "InvalidPrefixMarker",
    		Description:    "Invalid marker prefix combination",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBadRequest: {
    		Code:           "BadRequest",
    		Description:    "400 BadRequest",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrKeyTooLongError: {
    		Code:           "KeyTooLongError",
    		Description:    "Your key is too long",
    		HTTPStatusCode: http.StatusBadRequest,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    		apiErr := errorCodes.ToAPIErr(s3Err)
    		// If not set, convert or use BadRequest
    		if s3Err == ErrNone {
    			apiErr = toAPIError(ctx, err)
    			if apiErr.Code == "InternalError" {
    				// Convert generic internal errors to bad requests.
    				apiErr = APIError{
    					Code:           "BadRequest",
    					Description:    err.Error(),
    					HTTPStatusCode: http.StatusBadRequest,
    				}
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    			secretKey:        credentials.SecretKey,
    
    			expectedRespStatus: http.StatusBadRequest,
    		},
    
    		// Test case - 7.
    		// Test case with object name missing from source.
    		// fail with BadRequest.
    		{
    			bucketName:       bucketName,
    			uploadID:         uploadID,
    			copySourceHeader: url.QueryEscape("//123"),
    			accessKey:        credentials.AccessKey,
    			secretKey:        credentials.SecretKey,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
Back to top