- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 179 for 404 (0.05 seconds)
-
cmd/object-handlers_test.go
}, // Test case - 8. // Test case with non-existent source file. // Case for the purpose of failing `api.ObjectAPI.GetObjectInfo`. // Expecting the response status code to http.StatusNotFound (404). { bucketName: bucketName, uploadID: uploadID, copySourceHeader: url.QueryEscape(SlashSeparator + bucketName + SlashSeparator + "non-existent-object"),
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 163.1K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.16.md
- The 404 request handler for the GCE Ingress load balancer now exports prometheus metrics, including: - `http_404_request_total` (the number of 404 requests handled) - `http_404_request_duration_ms` (the amount of time the server took to respond in ms)
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Wed Oct 23 20:13:20 GMT 2024 - 345.2K bytes - Click Count (0) -
tests/test_tutorial/test_additional_responses/test_tutorial004.py
"info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { "responses": { "404": {"description": "Item not found"}, "302": {"description": "The item was moved"}, "403": {"description": "Not enough privileges"}, "200": {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 10:53:47 GMT 2026 - 5.5K bytes - Click Count (0) -
docs/fr/docs/tutorial/handling-errors.md
Les codes d'état dans la plage des 400 signifient qu'il y a eu une erreur côté client. Vous souvenez-vous de toutes ces erreurs **« 404 Not Found »** (et des blagues) ? ## Utiliser `HTTPException` { #use-httpexception } Pour renvoyer au client des réponses HTTP avec des erreurs, vous utilisez `HTTPException`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 10K bytes - Click Count (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_py310.py hl[18,22] *} /// note | Nota Ten en cuenta que debes devolver el `JSONResponse` directamente. ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 9.2K bytes - Click Count (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_py310.py hl[18,22] *} /// note | HinweisCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 9.9K bytes - Click Count (0) -
cmd/object-handlers.go
// whether you also have the s3:ListBucket // permission. // * If you have the s3:ListBucket permission // on the bucket, Amazon S3 will return an // HTTP status code 404 ("no such key") // error. // * if you don’t have the s3:ListBucket // permission, Amazon S3 will return an HTTP // status code 403 ("access denied") error.`Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 120.6K bytes - Click Count (0) -
docs/uk/docs/how-to/conditional-openapi.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 3.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/handling-errors.md
在這個範例中,當用戶端以不存在的 ID 請求項目時,raise 一個狀態碼為 `404` 的例外: {* ../../docs_src/handling_errors/tutorial001_py310.py hl[11] *} ### 回應結果 { #the-resulting-response } 如果用戶端請求 `http://example.com/items/foo`(`item_id` 為 `"foo"`),會收到 200 的 HTTP 狀態碼,以及以下 JSON 回應: ```JSON { "item": "The Foo Wrestlers" } ``` 但如果用戶端請求 `http://example.com/items/bar`(不存在的 `item_id` `"bar"`),會收到 404("not found")的 HTTP 狀態碼,以及以下 JSON 回應: ```JSONCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 8.3K bytes - Click Count (0) -
docs/zh/docs/tutorial/handling-errors.md
本例中,客户端用不存在的 `ID` 请求 `item` 时,触发状态码为 `404` 的异常: {* ../../docs_src/handling_errors/tutorial001_py310.py hl[11] *} ### 响应结果 { #the-resulting-response } 请求为 `http://example.com/items/foo`(`item_id` 为 `"foo"`)时,客户端会接收到 HTTP 状态码 200 及如下 JSON 响应结果: ```JSON { "item": "The Foo Wrestlers" } ``` 但如果客户端请求 `http://example.com/items/bar`(不存在的 `item_id` `"bar"`),则会接收到 HTTP 状态码 404(“未找到”错误)及如下 JSON 响应结果: ```JSON {Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.2K bytes - Click Count (0)