Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ReadObject (0.19 sec)

  1. cmd/object-handlers.go

    // -----------
    // The HEAD operation retrieves metadata from an object without returning the object itself.
    func (api objectAPIHandlers) HeadObjectHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "HeadObject")
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    		writeErrorResponseHeadersOnly(w, errorCodes.ToAPIErr(ErrServerNotInitialized))
    		return
    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)
  2. cmd/xl-storage.go

    		// Verify if the dataDir is present or not when the data
    		// is not inlined to make sure we return correct errors
    		// during HeadObject().
    
    		// Healing must not come here and return error, since healing
    		// deals with dataDirs directly, let healing fix things automatically.
    		if lerr := Access(pathJoin(volumeDir, path, fi.DataDir)); lerr != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  3. cmd/api-router.go

    			t := router.Methods(r.methods...).
    				HandlerFunc(collectAPIStats(r.api, httpTraceAll(notImplementedHandler))).
    				Queries(r.queries...)
    			t.Path(r.path)
    		}
    
    		// Object operations
    		// HeadObject
    		router.Methods(http.MethodHead).Path("/{object:.+}").
    			HandlerFunc(s3APIMiddleware(api.HeadObjectHandler))
    
    		// GetObjectAttributes
    		router.Methods(http.MethodGet).Path("/{object:.+}").
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    		case "PostPolicy":
    			// Register PostPolicy handler.
    			bucket.Methods(http.MethodPost).HeadersRegexp("Content-Type", "multipart/form-data*").HandlerFunc(api.PostPolicyBucketHandler)
    		case "HeadObject":
    			// Register HeadObject handler.
    			bucket.Methods("Head").Path("/{object:.+}").HandlerFunc(api.HeadObjectHandler)
    		case "GetObject":
    			// Register GetObject handler.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  5. cmd/object-api-interface.go

    	PartNumber          int                 // only useful in case of GetObject/HeadObject
    	CheckPrecondFn      CheckPreconditionFn // only set during GetObject/HeadObject/CopyObjectPart preconditional valuation
    	EvalMetadataFn      EvalMetadataFn      // only set for retention settings, meant to be used only when updating metadata in-place.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  6. docs/extensions/s3zip/README.md

    - Range requests for GetObject/HeadObject for individual files from zip is not supported.
    - Names inside ZIP files are kept unmodified, but some may lead to invalid paths. See [Object key naming guidelines](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html) on safe names.
    - This API behavior is limited for following **read** operations on files inside a zip archive:
      - `HeadObject`
      - `GetObject`
      - `ListObjectsV2`
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 10 16:28:27 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. cmd/api-headers.go

    	}
    
    	if objInfo.IsRemote() {
    		// Check if object is being restored. For more information on x-amz-restore header see
    		// https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html#API_HeadObject_ResponseSyntax
    		w.Header()[xhttp.AmzStorageClass] = []string{objInfo.TransitionedObject.Tier}
    	}
    
    	if lc, err := globalLifecycleSys.Get(objInfo.Bucket); err == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.9K bytes
    - Viewed (1)
  8. cmd/bucket-replication-metrics.go

    const (
    	putObjectTaggingAPI    replProxyAPI = "PutObjectTagging"
    	getObjectTaggingAPI    replProxyAPI = "GetObjectTagging"
    	removeObjectTaggingAPI replProxyAPI = "RemoveObjectTagging"
    	headObjectAPI          replProxyAPI = "HeadObject"
    	getObjectAPI           replProxyAPI = "GetObject"
    )
    
    // ProxyMetric holds stats for replication proxying
    type ProxyMetric struct {
    	PutTagTotal       uint64 `json:"putTaggingProxyTotal" msg:"ptc"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  9. cmd/object-handlers_test.go

    	TooBigObject
    	TooBigDecodedLength
    	BadSignature
    	BadMD5
    	MissingUploadID
    )
    
    // Wrapper for calling HeadObject API handler tests for both Erasure multiple disks and FS single drive setup.
    func TestAPIHeadObjectHandler(t *testing.T) {
    	ExecObjectLayerAPITest(t, testAPIHeadObjectHandler, []string{"HeadObject"})
    }
    
    func testAPIHeadObjectHandler(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top