- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for badRequest (0.08 sec)
-
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) -
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) -
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) -
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) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java
// Test OK status ApiResult okResult = new ApiResult.ApiResponse().status(Status.OK).result(); assertNotNull(okResult); // Test BAD_REQUEST status ApiResult badRequestResult = new ApiResult.ApiResponse().status(Status.BAD_REQUEST).result(); assertNotNull(badRequestResult); // Test UNAUTHORIZED status
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
assertEquals("{labels.contact_site_admin}", FessLabels.LABELS_contact_site_admin); assertEquals("{labels.request_error_title}", FessLabels.LABELS_request_error_title); assertEquals("{labels.bad_request}", FessLabels.LABELS_bad_request); assertEquals("{labels.page_not_found_title}", FessLabels.LABELS_page_not_found_title); assertEquals("{labels.check_url}", FessLabels.LABELS_check_url);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java
validateApi(body, messages -> {}); if (!isValidFileConfigId(body.fileConfigId)) { return asJson(new ApiErrorResponse().message("invalid fileConfigId").status(Status.BAD_REQUEST).result()); } body.crudMode = CrudMode.CREATE; final FileAuthentication fileAuth = getFileAuthentication(body).map(entity -> { try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java
validateApi(body, messages -> {}); if (!isValidWebConfigId(body.webConfigId)) { return asJson(new ApiErrorResponse().message("invalid webConfigId").status(Status.BAD_REQUEST).result()); } body.crudMode = CrudMode.CREATE; final RequestHeader reqHeader = getRequestHeader(body).map(entity -> { try { reqHeaderService.store(entity);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java
validateApi(body, messages -> {}); if (!isValidWebConfigId(body.webConfigId)) { return asJson(new ApiErrorResponse().message("invalid webConfigId").status(Status.BAD_REQUEST).result()); } body.crudMode = CrudMode.CREATE; final WebAuthentication webAuth = getWebAuthentication(body).map(entity -> { try { webAuthService.store(entity);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/ApiResult.java
/** * Represents the status of an API response. */ public enum Status { /** Successful response status. */ OK(0), /** Bad request status indicating client error. */ BAD_REQUEST(1), /** System error status indicating server error. */ SYSTEM_ERROR(2), /** Unauthorized status indicating authentication failure. */ UNAUTHORIZED(3), /** General failure status. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 24.9K bytes - Viewed (0)