- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 407 for Statuscode (0.09 seconds)
-
src/main/java/org/codelibs/fess/exception/WebApiException.java
super(message); this.statusCode = statusCode; } /** * Constructs a WebApiException with the specified status code and exception. * * @param statusCode The HTTP status code * @param e The exception that caused this WebApiException */ public WebApiException(final int statusCode, final Exception e) { this(statusCode, e.getMessage(), e);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java
assertEquals(statusCode, exception.getStatusCode()); assertEquals(message, exception.getMessage()); } @Test public void test_message_nullString() { // Test with null message string int statusCode = 500; String message = null; WebApiException exception = new WebApiException(statusCode, message);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.5K bytes - Click Count (0) -
cmd/object-lambda-handlers.go
tokenErr.Description = "The request token included in the request is invalid" writeErrorResponse(ctx, w, tokenErr, r.URL) return } statusCode := resp.StatusCode if status := resp.Header.Get(xhttp.AmzFwdStatus); status != "" { statusCode, err = strconv.Atoi(status) if err != nil { writeErrorResponse(ctx, w, APIError{ Code: "LambdaFunctionStatusError",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 18 21:56:31 GMT 2025 - 6.5K bytes - Click Count (0) -
tests/test_starlette_exception.py
raise HTTPException( status_code=404, detail="Item not found", headers={"X-Error": "Some custom header"}, ) return {"item": items[item_id]} @app.get("/http-no-body-statuscode-exception") async def no_body_status_code_exception(): raise HTTPException(status_code=204) @app.get("/http-no-body-statuscode-with-detail-exception")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/ElevateWordTests.java
.when() .put(getApiPath() + "/upload"); int statusCode = response.getStatusCode(); assertTrue(statusCode == 200 || statusCode == 400, "Status code should be 200 or 400, but was " + statusCode); if (statusCode == 200) { JsonPath jsonPath = JsonPath.from(response.asString());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/BadWordTests.java
.when() .put(getApiPath() + "/upload"); int statusCode = response.getStatusCode(); // Accept either 200 (success) or other status codes based on implementation assertTrue(statusCode == 200 || statusCode == 400, "Status code should be 200 or 400, but was " + statusCode); if (statusCode == 200) { JsonPath jsonPath = JsonPath.from(response.asString());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/PopularWordsApiTests.java
@Test public void testPopularWords_ok() { given().contentType("application/json") .when() .get("/api/v1/popular-words") .then() .statusCode(200) .body("record_count", greaterThanOrEqualTo(0)) .body("data", notNullValue()); } @Test public void testPopularWords_withSeed() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 3.6K bytes - Click Count (0) -
internal/logger/audit.go
delete(entry.RespHeader, filterKey) } var ( statusCode int timeToResponse time.Duration timeToFirstByte time.Duration outputBytes int64 = -1 // -1: unknown output bytes headerBytes int64 ) tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt) if ok { statusCode = tc.ResponseRecorder.StatusCode outputBytes = int64(tc.ResponseRecorder.Size())
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/StorageTests.java
int statusCode = response.getStatusCode(); // Accept 200 (success) or error responses assertTrue(statusCode == 200 || statusCode == 400 || statusCode == 404 || statusCode == 500, "Status code should be 200, 400, 404 or 500, but was " + statusCode); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbException.java
static int getStatusByCode(final int errcode) { int statusCode; if ((errcode & 0xC0000000) != 0) { statusCode = errcode; } else if (dosErrorCodeStatuses.containsKey(errcode)) { statusCode = dosErrorCodeStatuses.get(errcode); } else { statusCode = NT_STATUS_UNSUCCESSFUL; } return statusCode; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.7K bytes - Click Count (0)