Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CopyObjectHandler (0.13 sec)

  1. cmd/api-router.go

    		// CopyObject
    		router.Methods(http.MethodPut).Path("/{object:.+}").
    			HeadersRegexp(xhttp.AmzCopySource, ".*?(\\/|%2F).*?").
    			HandlerFunc(s3APIMiddleware(api.CopyObjectHandler))
    		// PutObjectRetention
    		router.Methods(http.MethodPut).Path("/{object:.+}").
    			HandlerFunc(s3APIMiddleware(api.PutObjectRetentionHandler)).
    			Queries("retention", "")
    		// PutObjectLegalHold
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    		// Call the ServeHTTP to execute the handler, `func (api objectAPIHandlers) CopyObjectHandler` handles the request.
    		a = globalMinPartSize + 1
    		b = len(bytesData[0].byteData) - 1
    		apiRouter.ServeHTTP(rec, req)
    		if rec.Code != http.StatusOK {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    	}
    	if globalBucketFederation {
    		_, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{})
    		return err == toObjectErr(errVolumeNotFound, bucket)
    	}
    	return false
    }
    
    // CopyObjectHandler - Copy Object
    // ----------
    // This implementation of the PUT operation adds an object to a bucket
    // while reading the object from another source.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    		case "CopyObject":
    			// Register Copy Object  handler.
    			bucket.Methods(http.MethodPut).Path("/{object:.+}").HeadersRegexp("X-Amz-Copy-Source", ".*?(\\/|%2F).*?").HandlerFunc(api.CopyObjectHandler)
    		case "PutBucketPolicy":
    			// Register PutBucket Policy handler.
    			bucket.Methods(http.MethodPut).HandlerFunc(api.PutBucketPolicyHandler).Queries("policy", "")
    		case "DeleteBucketPolicy":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top