Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Image (0.22 sec)

  1. cmd/server_test.go

    	// execute the HTTP request to create bucket.
    	response, err := s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// Uploading a new object with Content-Type "image/png".
    	// content for the object to be uploaded.
    	buffer1 := bytes.NewReader([]byte("hello world"))
    	objectName := "test-object.png"
    	// constructing HTTP request for object upload.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top