- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 141 for 404s (0.03 sec)
-
docs_src/app_testing/app_b/test_main.py
assert response.json() == {"detail": "Invalid X-Token header"} def test_read_nonexistent_item(): response = client.get("/items/baz", headers={"X-Token": "coneofsilence"}) assert response.status_code == 404 assert response.json() == {"detail": "Item not found"} def test_create_item(): response = client.post( "/items/", headers={"X-Token": "coneofsilence"},
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 1.8K bytes - Viewed (0) -
docs_src/app_testing/app_b_an_py39/test_main.py
assert response.json() == {"detail": "Invalid X-Token header"} def test_read_nonexistent_item(): response = client.get("/items/baz", headers={"X-Token": "coneofsilence"}) assert response.status_code == 404 assert response.json() == {"detail": "Item not found"} def test_create_item(): response = client.post( "/items/", headers={"X-Token": "coneofsilence"},
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/parallel_execute_to_islands.mlir
tf_device.return %5 : tensor<i1> }, { %5 = "tf.opC"(%1#0) : (tensor<i1>) -> tensor<i32> tf_device.return %5 : tensor<i32> }) {} : () -> (tensor<i1>, tensor<i32>) tf_executor.yield %4#0, %4#1 : tensor<i1>, tensor<i32> } tf_executor.fetch %3#0, %3#1 : tensor<i1>, tensor<i32> } func.return } // CHECK: [[INPUT_A:%.+]], {{%.+}} = tf_executor.island {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 19 19:47:16 UTC 2023 - 9.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Constants.java
public static final int BAD_REQUEST_STATUS_CODE = 400; public static final int FORBIDDEN_STATUS_CODE = 403; public static final int NOT_FOUND_STATUS_CODE = 404; public static final int SERVER_ERROR_STATUS_CODE = 500; public static final String NO_TRANSFORMER = "NONE"; public static final String FALSE = "false";
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.2K 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 ```Python hl_lines="1"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 20:28:29 UTC 2024 - 10.6K bytes - Viewed (0) -
src/vendor/golang.org/x/sys/cpu/cpu_arm64.go
} switch extractBits(isar0, 32, 35) { case 1: ARM64.HasSHA3 = true } switch extractBits(isar0, 36, 39) { case 1: ARM64.HasSM3 = true } switch extractBits(isar0, 40, 43) { case 1: ARM64.HasSM4 = true } switch extractBits(isar0, 44, 47) { case 1: ARM64.HasASIMDDP = true } // ID_AA64ISAR1_EL1 switch extractBits(isar1, 0, 3) { case 1:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/zh/docs/tutorial/handling-errors.md
需要向客户端返回错误提示的场景主要如下: - 客户端没有执行操作的权限 - 客户端没有访问资源的权限 - 客户端要访问的项目不存在 - 等等 ... 遇到这些情况时,通常要返回 **4XX**(400 至 499)**HTTP 状态码**。 **4XX** 状态码与表示请求成功的 **2XX**(200 至 299) HTTP 状态码类似。 只不过,**4XX** 状态码表示客户端发生的错误。 大家都知道**「404 Not Found」**错误,还有调侃这个错误的笑话吧? ## 使用 `HTTPException` 向客户端返回 HTTP 错误响应,可以使用 `HTTPException`。 ### 导入 `HTTPException` ```Python hl_lines="1" {!../../../docs_src/handling_errors/tutorial001.py!} ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 8.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/notfoundhandler/not_found_handler.go
// It checks if the request have been made before the server has installed all known HTTP paths. // In that case it returns a 503 response otherwise it returns a 404. // // Note that we don't want to add additional checks to the readyz path as it might prevent fixing bricked clusters.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 21 13:25:33 UTC 2021 - 2.5K bytes - Viewed (0) -
docs/em/docs/tutorial/response-status-code.md
* **`300`** & 🔛 "❎". 📨 ⏮️ 👫 👔 📟 5️⃣📆 ⚖️ 5️⃣📆 🚫 ✔️ 💪, 🌖 `304`, "🚫 🔀", ❔ 🔜 🚫 ✔️ 1️⃣. * **`400`** & 🔛 "👩💻 ❌" 📨. 👫 🥈 🆎 👆 🔜 🎲 ⚙️ 🏆. * 🖼 `404`, "🚫 🔎" 📨. * 💊 ❌ ⚪️➡️ 👩💻, 👆 💪 ⚙️ `400`. * `500` & 🔛 💽 ❌. 👆 🌖 🙅 ⚙️ 👫 🔗. 🕐❔ 🕳 🚶 ❌ 🍕 👆 🈸 📟, ⚖️ 💽, ⚫️ 🔜 🔁 📨 1️⃣ 👫 👔 📟. !!! tip
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Apr 01 09:26:04 UTC 2023 - 3.4K bytes - Viewed (0) -
src/net/http/status.go
StatusUnauthorized = 401 // RFC 9110, 15.5.2 StatusPaymentRequired = 402 // RFC 9110, 15.5.3 StatusForbidden = 403 // RFC 9110, 15.5.4 StatusNotFound = 404 // RFC 9110, 15.5.5 StatusMethodNotAllowed = 405 // RFC 9110, 15.5.6 StatusNotAcceptable = 406 // RFC 9110, 15.5.7 StatusProxyAuthRequired = 407 // RFC 9110, 15.5.8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 10 23:30:35 UTC 2022 - 7.5K bytes - Viewed (0)