Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PutRequest (0.09 sec)

  1. cmd/server_test.go

    		buffer := bytes.NewReader([]byte("testcontent"))
    		putRequest, err := newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName),
    			int64(buffer.Len()), buffer, s.accessKey, s.secretKey, s.signer)
    		c.Assert(err, nil)
    		response, err = s.client.Do(putRequest)
    		c.Assert(err, nil)
    		c.Assert(response.StatusCode, http.StatusOK)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top