Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for decode (0.08 sec)

  1. cmd/object-handlers_test.go

    	// Assert the response code with the expected status.
    	if rec.Code != http.StatusOK {
    		t.Fatalf("%s:  Expected the response status to be `%d`, but instead found `%d`", instanceType, http.StatusOK, rec.Code)
    	}
    
    	// decode the response body.
    	decoder := xml.NewDecoder(rec.Body)
    	multipartResponse := &InitiateMultipartUploadResponse{}
    
    	err = decoder.Decode(multipartResponse)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
Back to top