- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TransferEncoding (0.07 sec)
-
cmd/signature-v4-utils_test.go
expectedExpect := "100-continue" r, err := http.NewRequest(http.MethodGet, "http://play.min.io:9000", nil) if err != nil { t.Fatal("Unable to create http.Request :", err) } r.TransferEncoding = []string{expectedTransferEncoding} // Creating input http header. inputHeader := r.Header inputHeader.Set("x-amz-content-sha256", expectedContentSha256) inputHeader.Set("x-amz-date", expectedTime)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 14.3K bytes - Viewed (0) -
cmd/object-handlers_test.go
addCustomHeaders(req, testCase.headers) // Inject faults if specified in testCase.fault switch testCase.fault { case MissingContentLength: req.ContentLength = -1 req.TransferEncoding = []string{} case TooBigObject: req.ContentLength = globalMaxObjectSize + 1 } // Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0)