- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for 404 (0.15 sec)
-
docs/pt/docs/tutorial/handling-errors.md
Os status codes na faixa dos 400 significam que houve um erro por parte do cliente. Você se lembra de todos aqueles erros (e piadas) a respeito do "**404 Not Found**"? ## Use o `HTTPException` Para retornar ao cliente *responses* HTTP com erros, use o `HTTPException`. ### Import `HTTPException` ```Python hl_lines="1"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 10K 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"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:28:29 GMT 2024 - 10.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/handling-errors.md
Они похожи на двухсотые HTTP статус-коды (от 200 до 299), которые означают, что запрос обработан успешно. Четырёхсотые статус-коды означают, что ошибка произошла по вине клиента. Помните ли ошибки **"404 Not Found "** (и шутки) ? ## Использование `HTTPException` Для возврата клиенту HTTP-ответов с ошибками используется `HTTPException`. ### Импортируйте `HTTPException` ```Python hl_lines="1"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 14.5K bytes - Viewed (0) -
docs/ja/docs/tutorial/handling-errors.md
* など これらの場合、通常は **400**(400から499)の範囲内の **HTTPステータスコード** を返すことになります。 これは200のHTTPステータスコード(200から299)に似ています。これらの「200」ステータスコードは、何らかの形でリクエスト「成功」であったことを意味します。 400の範囲にあるステータスコードは、クライアントからのエラーがあったことを意味します。 **"404 Not Found"** のエラー(およびジョーク)を覚えていますか? ## `HTTPException`の使用 HTTPレスポンスをエラーでクライアントに返すには、`HTTPException`を使用します。 ### `HTTPException`のインポート ```Python hl_lines="1"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
MockResponse.Builder() .status("HTTP/1.1 404 Not Found") .build(), ) newWebSocket() clientListener.assertFailure( 404, null, ProtocolException::class.java, "Expected HTTP 101 response but was '404 Not Found'", ) } @Test fun clientTimeoutClosesBody() { webServer.enqueue( MockResponse.Builder() .code(408)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 35.2K bytes - Viewed (1) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
assertThat(ioe.cause!!).isInstanceOf<EOFException>() } } // TODO GET preferred order - with tests to confirm this // 1. successful fresh cached GET response // 2. unsuccessful (404, 500) fresh cached GET response // 3. successful network response // 4. successful stale cached GET response // 5. unsuccessful response @Test fun usesCache() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 11K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt
Header(RESPONSE_STATUS, "200"), Header(RESPONSE_STATUS, "204"), Header(RESPONSE_STATUS, "206"), Header(RESPONSE_STATUS, "304"), Header(RESPONSE_STATUS, "400"), Header(RESPONSE_STATUS, "404"), Header(RESPONSE_STATUS, "500"), Header("accept-charset", ""), Header("accept-encoding", "gzip, deflate"), Header("accept-language", ""), Header("accept-ranges", ""),
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 22.5K bytes - Viewed (1) -
docs/de/docs/tutorial/bigger-applications.md
``` !!! tip "Tipp" Diese letzte Pfadoperation wird eine Kombination von Tags haben: `["items", "custom"]`. Und sie wird auch beide Responses in der Dokumentation haben, eine für `404` und eine für `403`. ## Das Haupt-`FastAPI`. Sehen wir uns nun das Modul unter `app/main.py` an. Hier importieren und verwenden Sie die Klasse `FastAPI`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:27:59 GMT 2024 - 21.1K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
``` !!! tip This last path operation will have the combination of tags: `["items", "custom"]`. And it will also have both responses in the documentation, one for `404` and one for `403`. ## The main `FastAPI` Now, let's see the module at `app/main.py`. Here's where you import and use the class `FastAPI`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 18.6K bytes - Viewed (0) -
docs/em/docs/tutorial/bigger-applications.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 15.6K bytes - Viewed (0)