Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PutBucketCors (0.06 sec)

  1. cmd/dummy-handlers.go

    }
    
    // PutBucketCorsHandler - PUT bucket cors, a dummy api
    func (api objectAPIHandlers) PutBucketCorsHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutBucketCors")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. cmd/api-router.go

    			Queries("acl", "")
    		// GetBucketCors - this is a dummy call.
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.GetBucketCorsHandler)).
    			Queries("cors", "")
    		// PutBucketCors - this is a dummy call.
    		router.Methods(http.MethodPut).
    			HandlerFunc(s3APIMiddleware(api.PutBucketCorsHandler)).
    			Queries("cors", "")
    		// DeleteBucketCors - this is a dummy call.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top