Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 20 for StatusNotFound (0.08 seconds)

  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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  2. 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},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. 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()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  4. 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
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  5. 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.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  6. 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",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Apr 22 11:16:32 GMT 2025
    - 23K bytes
    - Click Count (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
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  8. 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:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  9. 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
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
  10. api/go1.1.txt

    pkg net/http, const StatusMultipleChoices = 300
    pkg net/http, const StatusNoContent = 204
    pkg net/http, const StatusNonAuthoritativeInfo = 203
    pkg net/http, const StatusNotAcceptable = 406
    pkg net/http, const StatusNotFound = 404
    pkg net/http, const StatusNotImplemented = 501
    pkg net/http, const StatusNotModified = 304
    pkg net/http, const StatusOK = 200
    pkg net/http, const StatusPartialContent = 206
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Click Count (0)
Back to Top