- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 81 for StatusCode (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java
for (int statusCode : statusCodes) { WebApiException exception = new WebApiException(statusCode, "Test message"); assertEquals(statusCode, exception.getStatusCode()); } } @Test public void test_statusCode_negativeValue() { // Test with negative status code int statusCode = -1; String message = "Invalid status";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) -
tests/test_starlette_exception.py
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") async def no_body_status_code_with_detail_exception(): raise HTTPException(status_code=204, detail="I should just disappear!")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) -
internal/s3select/json/errors.go
type s3Error struct { code string message string statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code } func (err *s3Error) ErrorMessage() string { return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode } func (err *s3Error) Error() string {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.6K 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/s3select/errors.go
type s3Error struct { code string message string statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code } func (err *s3Error) ErrorMessage() string { return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode } func (err *s3Error) Error() string {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Mar 14 16:48:36 GMT 2022 - 4.3K bytes - Click Count (0) -
cmd/tier-handlers.go
Code: "XMinioAdminTierAlreadyExists", Message: "Specified remote tier already exists", StatusCode: http.StatusConflict, } // error returned when remote tier is not found errTierNotFound = AdminError{ Code: "XMinioAdminTierNotFound", Message: "Specified remote tier was not found", StatusCode: http.StatusNotFound, } // error returned when remote tier name is not in uppercase
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Sep 12 20:44:05 GMT 2024 - 7.5K 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)