Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for KeyTooLongError (0.09 sec)

  1. cmd/api-errors.go

    	},
    	ErrBadRequest: {
    		Code:           "BadRequest",
    		Description:    "400 BadRequest",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrKeyTooLongError: {
    		Code:           "KeyTooLongError",
    		Description:    "Your key is too long",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrUnsignedHeaders: {
    		Code:           "AccessDenied",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	c.Assert(err, nil)
    	// 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"))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
Back to top