Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PutBucketCorsHandler (0.21 sec)

  1. cmd/dummy-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrNoSuchCORSConfiguration), r.URL)
    }
    
    // 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)
    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

    			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.
    		router.Methods(http.MethodDelete).
    			HandlerFunc(s3APIMiddleware(api.DeleteBucketCorsHandler)).
    			Queries("cors", "")
    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