Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for BadRequest (0.04 sec)

  1. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

            }
            assertTrue("Should have admin paths", adminPaths.size() > 0);
        }
    
        public void test_errorPaths() throws Exception {
            // Test error paths
            assertEquals("/error/badRequest.jsp", FessHtmlPath.path_Error_BadRequestJsp.getRoutingPath());
            assertEquals("/error/error.jsp", FessHtmlPath.path_Error_ErrorJsp.getRoutingPath());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. cmd/handler-utils.go

    		if ok {
    			tc.FuncName = "s3.ValidRequest"
    			tc.ResponseRecorder.LogErrBody = true
    		}
    
    		writeErrorResponse(r.Context(), w, APIError{
    			Code: "BadRequest",
    			Description: fmt.Sprintf("An unsupported API call for method: %s at '%s'",
    				r.Method, r.URL.Path),
    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    	}
    }
    
    // gets host name for current node
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.3K bytes
    - Viewed (1)
  3. cmd/object-handlers.go

    		apiErr := errorCodes.ToAPIErr(s3Err)
    		// If not set, convert or use BadRequest
    		if s3Err == ErrNone {
    			apiErr = toAPIError(ctx, err)
    			if apiErr.Code == "InternalError" {
    				// Convert generic internal errors to bad requests.
    				apiErr = APIError{
    					Code:           "BadRequest",
    					Description:    err.Error(),
    					HTTPStatusCode: http.StatusBadRequest,
    				}
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    			secretKey:        credentials.SecretKey,
    
    			expectedRespStatus: http.StatusBadRequest,
    		},
    
    		// Test case - 7.
    		// Test case with object name missing from source.
    		// fail with BadRequest.
    		{
    			bucketName:       bucketName,
    			uploadID:         uploadID,
    			copySourceHeader: url.QueryEscape("//123"),
    			accessKey:        credentials.AccessKey,
    			secretKey:        credentials.SecretKey,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
Back to top