Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for dello (0.25 sec)

  1. cmd/server_test.go

    	c.Assert(response.ContentLength, int64(len([]byte("hello world"))))
    	var buffer2 bytes.Buffer
    	// retrieve the contents of response body.
    	n, err := io.Copy(&buffer2, response.Body)
    	c.Assert(err, nil)
    	c.Assert(n, int64(len([]byte("hello world"))))
    	// asserted the contents of the fetched object with the expected result.
    	c.Assert(true, bytes.Equal(buffer2.Bytes(), []byte("hello world")))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    					}
    				}
    			}
    		}
    	}
    
    	// Test for Anonymous/unsigned http request.
    	anonReq, err := newTestRequest(http.MethodPut, getPutObjectURL("", bucketName, objectName),
    		int64(len("hello")), bytes.NewReader([]byte("hello")))
    	if err != nil {
    		t.Fatalf("MinIO %s: Failed to create an anonymous request for %s/%s: <ERROR> %v",
    			instanceType, bucketName, objectName, err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top