- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 105 for 404 (0.01 sec)
-
docs/uk/docs/tutorial/handling-errors.md
Це схоже на HTTP статус-коди 200 (від 200 до 299). Ці "200" статус-коди означають, що запит пройшов успішно. Статус-коди в діапазоні 400 означають, що сталася помилка з боку клієнта. Пам'ятаєте всі ці помилки **404 Not Found** (і жарти про них)? ## Використання `HTTPException` Щоб повернути HTTP-відповіді з помилками клієнту, використовуйте `HTTPException`. ### Імпорт `HTTPException`
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri May 30 13:31:13 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/error/ErrorNotfoundAction.java
package org.codelibs.fess.app.web.error; import org.codelibs.fess.app.web.base.FessSearchAction; import org.lastaflute.web.Execute; import org.lastaflute.web.response.HtmlResponse; /** * Action class for handling HTTP 404 Not Found error pages. * This action displays error pages when the requested resource * cannot be found on the server. */ public class ErrorNotfoundAction extends FessSearchAction { /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java
public class WebApiExceptionTest extends UnitFessTestCase { public void test_constructor_withStatusCodeAndMessage() { // Test constructor with status code and message int statusCode = 404; String message = "Resource not found"; WebApiException exception = new WebApiException(statusCode, message); assertEquals(statusCode, exception.getStatusCode());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
docs/ru/docs/tutorial/handling-errors.md
Они похожи на двухсотые HTTP статус-коды (от 200 до 299), которые означают, что запрос обработан успешно. Четырёхсотые статус-коды означают, что ошибка произошла по вине клиента. Помните ли ошибки **"404 Not Found "** (и шутки) ? ## Использование `HTTPException` Для возврата клиенту HTTP-ответов с ошибками используется `HTTPException`. ### Импортируйте `HTTPException`
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 14.3K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
The status codes in the 400 range mean that there was an error from the client. Remember all those **"404 Not Found"** errors (and jokes)? ## Use `HTTPException` { #use-httpexception } To return HTTP responses with errors to the client you use `HTTPException`. ### Import `HTTPException` { #import-httpexception }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java
Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { assertTrue(response.code() == 200 || response.code() == 404); assertEquals(Protocol.HTTP_2, response.protocol()); for (Certificate c: response.handshake().peerCertificates()) { X509Certificate x = (X509Certificate) c; System.out.println(x.getSubjectDN());
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 26 06:37:08 UTC 2021 - 1.9K bytes - Viewed (0) -
docs/de/docs/advanced/additional-responses.md
**FastAPI** nimmt dieses Modell, generiert dessen JSON-Schema und fügt es an der richtigen Stelle in OpenAPI ein. Um beispielsweise eine weitere Response mit dem Statuscode `404` und einem Pydantic-Modell `Message` zu deklarieren, können Sie schreiben: {* ../../docs_src/additional_responses/tutorial001.py hl[18,22] *} /// note | Hinweis
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:53:31 UTC 2024 - 9.5K bytes - Viewed (0) -
docs/es/docs/advanced/additional-responses.md
**FastAPI** tomará ese modelo, generará su JSON Schema y lo incluirá en el lugar correcto en OpenAPI. Por ejemplo, para declarar otro response con un código de estado `404` y un modelo Pydantic `Message`, puedes escribir: {* ../../docs_src/additional_responses/tutorial001.py hl[18,22] *} /// note | Nota Ten en cuenta que debes devolver el `JSONResponse` directamente. ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 9.1K bytes - Viewed (0) -
docs/en/docs/advanced/additional-responses.md
**FastAPI** will take that model, generate its JSON Schema and include it in the correct place in OpenAPI. For example, to declare another response with a status code `404` and a Pydantic model `Message`, you can write: {* ../../docs_src/additional_responses/tutorial001.py hl[18,22] *} /// note Keep in mind that you have to return the `JSONResponse` directly. /// /// info
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 8.9K bytes - Viewed (0) -
docs/de/docs/tutorial/handling-errors.md
Die Statuscodes im 400er-Bereich bedeuten hingegen, dass es einen Fehler gab. Erinnern Sie sich an all diese **404 Not Found** Fehler (und Witze)? ## `HTTPException` verwenden Um HTTP-Responses mit Fehlern zum Client zurückzugeben, verwenden Sie `HTTPException`. ### `HTTPException` importieren
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.4K bytes - Viewed (0)