- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for 4064 (0.13 sec)
-
cmd/httprange.go
if len(offsetBeginString) > 0 { if offsetBeginString[0] == '+' { return nil, fmt.Errorf("Byte position ('%s') must not have a sign", offsetBeginString) } else if offsetBegin, err = strconv.ParseInt(offsetBeginString, 10, 64); err != nil { return nil, fmt.Errorf("'%s' does not have a valid first byte position value", rangeString) } else if offsetBegin < 0 { return nil, fmt.Errorf("First byte position is negative ('%d')", offsetBegin) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.9K bytes - Viewed (0) -
src/arena/arena_test.go
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Oct 12 20:23:36 UTC 2022 - 742 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java
// 404 throw responseManager.new404("Thumbnail for " + form.docId + " is not found."); } final File thumbnailFile = thumbnailManager.getThumbnailFile(doc); if (thumbnailFile == null) { if (fessConfig.isThumbnailEnabled()) { thumbnailManager.offer(doc); } // 404
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K bytes - Viewed (0) -
docs/pt/docs/advanced/additional-responses.md
O **FastAPI** pegará este modelo, gerará o esquema JSON dele e incluirá no local correto do OpenAPI. Por exemplo, para declarar um outro retorno com o status code `404` e um modelo do Pydantic chamado `Message`, você pode escrever: {* ../../docs_src/additional_responses/tutorial001.py hl[18,22] *} /// note | Nota Lembre-se que você deve retornar o `JSONResponse` diretamente.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/es/docs/tutorial/handling-errors.md
Los códigos de estado en el rango de 400 significan que hubo un error por parte del cliente. ¿Recuerdas todos esos errores de **"404 Not Found"** (y chistes)? ## Usa `HTTPException` Para devolver responses HTTP con errores al cliente, usa `HTTPException`. ### Importa `HTTPException` {* ../../docs_src/handling_errors/tutorial001.py hl[1] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 9.6K bytes - Viewed (0) -
docs/zh/docs/advanced/additional-responses.md
您可以向路径操作装饰器传递参数 `responses` 。 它接收一个 `dict`,键是每个响应的状态代码(如`200`),值是包含每个响应信息的其他 `dict`。 每个响应字典都可以有一个关键模型,其中包含一个 `Pydantic` 模型,就像 `response_model` 一样。 **FastAPI**将采用该模型,生成其`JSON Schema`并将其包含在`OpenAPI`中的正确位置。 例如,要声明另一个具有状态码 `404` 和`Pydantic`模型 `Message` 的响应,可以写: {* ../../docs_src/additional_responses/tutorial001.py hl[18,22] *} /// note 请记住,您必须直接返回 `JSONResponse` 。 /// /// info `model` 密钥不是OpenAPI的一部分。
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:29:26 UTC 2024 - 8.1K 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) -
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)