Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for globalDomainNames (0.1 sec)

  1. cmd/bucket-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    
    	bucket := mux.Vars(r)["bucket"]
    	resource, err := getResource(r.URL.Path, r.Host, globalDomainNames)
    	if err != nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    	}
    
    	// Make sure that the URL does not contain object name.
    	if bucket != path.Clean(resource[1:]) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top