Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for StatusNotFound (0.2 sec)

  1. cmd/metrics-v3-handler.go

    	var notFoundHandler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		http.Error(w, "Metrics Resource Not found", http.StatusNotFound)
    	})
    
    	// Require that metrics path has one component at least.
    	if path == "/" {
    		return notFoundHandler
    	}
    
    	if isListingRequest {
    		handler := h.listMetrics(path)
    		if handler == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. cmd/tier-handlers.go

    	}
    	// error returned when remote tier is not found
    	errTierNotFound = AdminError{
    		Code:       "XMinioAdminTierNotFound",
    		Message:    "Specified remote tier was not found",
    		StatusCode: http.StatusNotFound,
    	}
    	// error returned when remote tier name is not in uppercase
    	errTierNameNotUppercase = AdminError{
    		Code:       "XMinioAdminTierNameNotUpperCase",
    		Message:    "Tier name must be in uppercase",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. cmd/update_test.go

    	}))
    	defer httpServer2.Close()
    	httpServer3 := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		http.Error(w, "", http.StatusNotFound)
    	}))
    	defer httpServer3.Close()
    
    	testCases := []struct {
    		releaseChecksumURL string
    		expectedResult     string
    		expectedErr        error
    	}{
    		{httpServer1.URL, "", nil},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. cmd/perf-tests.go

    				t := time.Now()
    
    				r, _, _, err := c.GetObject(downloadsCtx, opts.bucketName, tmpObjName, gopts)
    				if err != nil {
    					errResp, ok := err.(minio.ErrorResponse)
    					if ok && errResp.StatusCode == http.StatusNotFound {
    						continue
    					}
    					if !contextCanceled(downloadsCtx) && !errors.Is(err, context.Canceled) {
    						errOnce.Do(func() {
    							retError = err.Error()
    						})
    					}
    					downloadsCancel()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. cmd/batch-rotate.go

    		if isErrBucketNotFound(err) {
    			return batchKeyRotationJobError{
    				Code:           "NoSuchSourceBucket",
    				Description:    "The specified source bucket does not exist",
    				HTTPStatusCode: http.StatusNotFound,
    			}
    		}
    		return err
    	}
    	if GlobalKMS == nil {
    		return errKMSNotConfigured
    	}
    	if err := r.Encryption.Validate(); err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. cmd/server_test.go

    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusNotFound)
    }
    
    // TestDeleteBucket - validates DELETE bucket operation.
    func (s *TestSuiteCommon) TestDeleteBucket(c *check) {
    	bucketName := getRandomBucketName()
    
    	// HTTP request to create the bucket.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    			return batchReplicationJobError{
    				Code:           "NoSuchSourceBucket",
    				Description:    fmt.Sprintf("The specified bucket %s does not exist", localBkt),
    				HTTPStatusCode: http.StatusNotFound,
    			}
    		}
    		return err
    	}
    
    	if err := r.Source.Type.Validate(); err != nil {
    		return err
    	}
    	if err := r.Source.Snowball.Validate(); err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  8. cmd/batch-expire.go

    		if isErrBucketNotFound(err) {
    			return batchExpireJobError{
    				Code:           "NoSuchSourceBucket",
    				Description:    "The specified source bucket does not exist",
    				HTTPStatusCode: http.StatusNotFound,
    			}
    		}
    		return err
    	}
    
    	if len(r.Rules) > maxBatchRules {
    		return batchExpireJobError{
    			Code:           "InvalidArgument",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. cmd/storage-rest-server.go

    	err = unwrapAll(err)
    	switch err {
    	case errDiskStale:
    		w.WriteHeader(http.StatusPreconditionFailed)
    	case errFileNotFound, errFileVersionNotFound:
    		w.WriteHeader(http.StatusNotFound)
    	case errInvalidAccessKeyID, errAccessKeyDisabled, errNoAuthToken, errMalformedAuth, errAuthentication, errSkewedAuthTime:
    		w.WriteHeader(http.StatusUnauthorized)
    	case context.Canceled, context.DeadlineExceeded:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg net/http, const StatusNoContent ideal-int
    pkg net/http, const StatusNonAuthoritativeInfo ideal-int
    pkg net/http, const StatusNotAcceptable ideal-int
    pkg net/http, const StatusNotFound ideal-int
    pkg net/http, const StatusNotImplemented ideal-int
    pkg net/http, const StatusNotModified ideal-int
    pkg net/http, const StatusOK ideal-int
    pkg net/http, const StatusPartialContent ideal-int
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top