Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Ferrari (0.15 sec)

  1. cmd/bucket-handlers.go

    	if len(policyBytes) > 0 {
    		postPolicyForm, err := parsePostPolicyForm(bytes.NewReader(policyBytes))
    		if err != nil {
    			errAPI := errorCodes.ToAPIErr(ErrPostPolicyConditionInvalidFormat)
    			errAPI.Description = fmt.Sprintf("%s '(%s)'", errAPI.Description, err)
    			writeErrorResponse(ctx, w, errAPI, r.URL)
    			return
    		}
    
    		// Make sure formValues adhere to policy restrictions.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  2. cmd/api-errors_test.go

    func TestAPIErrCodeDefinition(t *testing.T) {
    	for errAPI := ErrNone + 1; errAPI < apiErrCodeEnd; errAPI++ {
    		errCode, ok := errorCodes[errAPI]
    		if !ok {
    			t.Fatal(errAPI, "error code is not defined in the API error code table")
    		}
    		if errCode.Code == "" {
    			t.Fatal(errAPI, "error code has an empty XML code")
    		}
    		if errCode.HTTPStatusCode == 0 {
    			t.Fatal(errAPI, "error code has a zero HTTP status code")
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 25 15:13:08 GMT 2023
    - 3.4K bytes
    - Viewed (0)
Back to top