Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DeleteObjectHandler (0.15 sec)

  1. cmd/api-router.go

    			HandlerFunc(s3APIMiddleware(api.PutObjectHandler, traceHdrsS3HFlag))
    
    		// DeleteObject
    		router.Methods(http.MethodDelete).Path("/{object:.+}").
    			HandlerFunc(s3APIMiddleware(api.DeleteObjectHandler))
    
    		// PostRestoreObject
    		router.Methods(http.MethodPost).Path("/{object:.+}").
    			HandlerFunc(s3APIMiddleware(api.PostRestoreObjectHandler)).
    			Queries("restore", "")
    
    		// Bucket operations
    
    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.go

    	hash.TransferChecksumHeader(w, r)
    	writeSuccessResponseHeadersOnly(w)
    }
    
    // Delete objectAPIHandlers
    
    // DeleteObjectHandler - delete an object
    func (api objectAPIHandlers) DeleteObjectHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "DeleteObject")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    		case "DeleteObject":
    			// Register Delete Object handler.
    			bucket.Methods(http.MethodDelete).Path("/{object:.+}").HandlerFunc(api.DeleteObjectHandler)
    		case "CopyObject":
    			// Register Copy Object  handler.
    			bucket.Methods(http.MethodPut).Path("/{object:.+}").HeadersRegexp("X-Amz-Copy-Source", ".*?(\\/|%2F).*?").HandlerFunc(api.CopyObjectHandler)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    			objectName: objectName,
    			accessKey:  "Invalid-AccessKey",
    			secretKey:  credentials.SecretKey,
    
    			expectedRespStatus: http.StatusForbidden,
    		},
    	}
    
    	// Iterating over the cases, call DeleteObjectHandler and validate the HTTP response.
    	for i, testCase := range testCases {
    		var req, reqV2 *http.Request
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
Back to top