Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for objectAPIHandlers (0.09 sec)

  1. 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))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K 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) GetObjectHandler`  handles the request.
    		apiRouter.ServeHTTP(rec, req)
    
    		// Assert the response code with the expected status.
    		if rec.Code != testCase.expectedRespStatus {
    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