Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for request (0.17 sec)

  1. cmd/api-errors.go

    		Description:    "Request has expired",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrRequestNotReadyYet: {
    		Code:           "AccessDenied",
    		Description:    "Request is not valid yet",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrSlowDownRead: {
    		Code:           "SlowDownRead",
    		Description:    "Resource requested is unreadable, please reduce your request rate",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  2. cmd/object-handlers.go

    	"github.com/minio/minio/internal/s3select"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    	"github.com/valyala/bytebufferpool"
    )
    
    // supportedHeadGetReqParams - supported request parameters for GET and HEAD presigned request.
    var supportedHeadGetReqParams = map[string]string{
    	"response-expires":             xhttp.Expires,
    	"response-content-type":        xhttp.ContentType,
    	"response-cache-control":       xhttp.CacheControl,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/globals.go

    	GlobalKMS kms.KMS
    
    	// Common lock for various subsystems performing the leader tasks
    	globalLeaderLock *sharedLock
    
    	// Auto-Encryption, if enabled, turns any non-SSE-C request
    	// into an SSE-S3 request. If enabled a valid, non-empty KMS
    	// configuration must be present.
    	globalAutoEncryption bool
    
    	// Is compression enabled?
    	globalCompressConfigMu sync.Mutex
    	globalCompressConfig   compress.Config
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  4. cmd/object-api-errors.go

    	OffsetEnd    int64
    	ResourceSize int64
    }
    
    func (e InvalidRange) Error() string {
    	return fmt.Sprintf("The requested range 'bytes=%d-%d' is not satisfiable", e.OffsetBegin, e.OffsetEnd)
    }
    
    // ObjectTooLarge error returned when the size of the object > max object size allowed (5G) per request.
    type ObjectTooLarge GenericError
    
    func (e ObjectTooLarge) Error() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. cmd/metrics-v2.go

    	transitionedVersions MetricName = "transitioned_versions"
    
    	tierRequestsSuccess MetricName = "requests_success"
    	tierRequestsFailure MetricName = "requests_failure"
    
    	kmsOnline          = "online"
    	kmsRequestsSuccess = "request_success"
    	kmsRequestsError   = "request_error"
    	kmsRequestsFail    = "request_failure"
    	kmsUptime          = "uptime"
    
    	webhookOnline         = "online"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    		return &GetObjectReader{
    			ObjInfo: objInfo,
    		}, toObjectErr(errMethodNotAllowed, bucket, object)
    	}
    
    	// Set NoDecryption for SSE-C objects and if replication request
    	if crypto.SSEC.IsEncrypted(objInfo.UserDefined) && opts.ReplicationRequest {
    		opts.NoDecryption = true
    	}
    
    	if objInfo.Size == 0 {
    		if _, _, err := rs.GetOffsetLength(objInfo.Size); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  7. cmd/iam.go

    // administrator.
    //
    // - from `Subject.CommonName` field from the STS request for
    // AssumeRoleWithCertificate. In this case, the policy for the STS credential
    // has the same name as the value of this field.
    //
    // - from special JWT claim from STS request for AssumeRoleWithOIDC API (when
    // not using RoleARN). The claim value can be a string or a list and refers to
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  8. cmd/erasure-server-pool.go

    		if pinfo.ObjInfo.DeleteMarker && pinfo.ObjInfo.Name != "" {
    			return pinfo, noReadQuorumPools, nil
    		}
    	}
    	if opts.ReplicationRequest && opts.DeleteMarker && defPool.Index >= 0 {
    		// If the request is a delete marker replication request, return a default pool
    		// in cases where the object does not exist.
    		// This is to ensure that the delete marker is replicated to the destination.
    		return defPool, noReadQuorumPools, nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  9. internal/grid/handlers.go

    			r := RemoteErr(err.Error())
    			return nil, &r
    		}
    		return payload, nil
    	}, subroute...)
    }
    
    // Requester is able to send requests to a remote.
    type Requester interface {
    	Request(ctx context.Context, h HandlerID, req []byte) ([]byte, error)
    }
    
    // Call the remote with the request and return the response.
    // The response should be returned with PutResponse when no error.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  10. internal/grid/grid_test.go

    	errFatal(err)
    
    	// Start sending requests.
    	go func() {
    		for i := byte(0); i < 100; i++ {
    			st.Requests <- []byte{i}
    		}
    		close(st.Requests)
    	}()
    	// Now do 100 other requests to ensure that the server doesn't block.
    	for i := 0; i < 100; i++ {
    		_, err := remoteConn.Request(ctx, handlerTest2, []byte(testPayload))
    		errFatal(err)
    	}
    	// Start processing requests.
    	close(processHandler)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
Back to top