Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isInject (0.2 sec)

  1. cmd/object-handlers_test.go

    		if err != nil {
    			t.Fatalf("Test %d: Failed to create HTTP request for Put Object: <ERROR> %v", i, err)
    		}
    		// Add test case specific headers to the request.
    		addCustomHeaders(req, testCase.headers)
    
    		// Inject faults if specified in testCase.fault
    		switch testCase.fault {
    		case MissingContentLength:
    			req.ContentLength = -1
    			req.TransferEncoding = []string{}
    		case TooBigObject:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 163.1K bytes
    - Viewed (0)
Back to top