Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for togo (0.23 sec)

  1. cmd/server_test.go

    	// execute the HTTP request.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusBadRequest)
    	verifyError(c, response, "KeyTooLongError", "Your key is too long", http.StatusBadRequest)
    
    	// make object name as unsupported
    	longObjName = fmt.Sprintf("%0256d", 1)
    	buffer = bytes.NewReader([]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/admin-handlers.go

    		DefaultKeyID: stat.DefaultKey,
    		Endpoints:    make(map[string]madmin.ItemState, len(stat.Endpoints)),
    	}
    	for _, endpoint := range stat.Endpoints {
    		status.Endpoints[endpoint] = madmin.ItemOnline // TODO(aead): Implement an online check for mTLS
    	}
    
    	resp, err := json.Marshal(status)
    	if err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    		return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  3. cmd/object-handlers_test.go

    			secretKey:          credentials.SecretKey,
    			shouldPass:         false,
    			fault:              chunkDateMismatch,
    		},
    		// Test case - 11
    		// Set x-amz-decoded-content-length to a value too big to hold in int64.
    		{
    			bucketName:         bucketName,
    			objectName:         objectName,
    			data:               oneKData,
    			dataLen:            1024,
    			chunkSize:          1024,
    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