Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/object-handlers_test.go

    		apiRouter.ServeHTTP(rec, req)
    		if rec.Code != http.StatusOK {
    			t.Fatalf("Test failed to create HTTP request for copy %d", rec.Code)
    		}
    
    		resp := &CopyObjectPartResponse{}
    		if err = xmlDecoder(rec.Body, resp, rec.Result().ContentLength); err != nil {
    			t.Fatalf("Test failed to decode XML response: <ERROR> %v", err)
    		}
    
    		parts = append(parts, CompletePart{
    			PartNumber: partNumber,
    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