- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 311 for _code (0.21 sec)
-
docs/en/docs/advanced/custom-response.md
``` If you do that, then you can return the URL directly from your *path operation* function. In this case, the `status_code` used will be the default one for the `RedirectResponse`, which is `307`. --- You can also use the `status_code` parameter combined with the `response_class` parameter: ```Python hl_lines="2 7 9" {!../../../docs_src/custom_response/tutorial006c.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.7K bytes - Viewed (0) -
docs/de/docs/advanced/custom-response.md
``` Wenn Sie das tun, können Sie die URL direkt von Ihrer *Pfadoperation*-Funktion zurückgeben. In diesem Fall ist der verwendete `status_code` der Standardcode für die `RedirectResponse`, also `307`. --- Sie können den Parameter `status_code` auch in Kombination mit dem Parameter `response_class` verwenden: ```Python hl_lines="2 7 9" {!../../../docs_src/custom_response/tutorial006c.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 23 13:05:12 GMT 2024 - 13.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt
} OPCODE_CONTROL_CLOSE -> { var code = CLOSE_NO_STATUS_CODE var reason = "" val bufferSize = controlFrameBuffer.size if (bufferSize == 1L) { throw ProtocolException("Malformed close payload length of 1.") } else if (bufferSize != 0L) { code = controlFrameBuffer.readShort().toInt() reason = controlFrameBuffer.readUtf8()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.8K bytes - Viewed (0) -
api/go1.19.txt
pkg debug/pe, const IMAGE_FILE_MACHINE_LOONGARCH64 = 25188 #46229 pkg debug/pe, const IMAGE_FILE_MACHINE_LOONGARCH64 ideal-int #46229 pkg debug/pe, const IMAGE_SCN_CNT_CODE = 32 #51868 pkg debug/pe, const IMAGE_SCN_CNT_CODE ideal-int #51868 pkg debug/pe, const IMAGE_SCN_CNT_INITIALIZED_DATA = 64 #51868 pkg debug/pe, const IMAGE_SCN_CNT_INITIALIZED_DATA ideal-int #51868
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Dec 02 16:29:41 GMT 2022 - 17.9K bytes - Viewed (1) -
docs/ja/docs/advanced/custom-response.md
### `Response` メインの `Response` クラスで、他の全てのレスポンスはこれを継承しています。 直接返すことができます。 以下のパラメータを受け付けます。 * `content` - `str` か `bytes`。 * `status_code` - `int` のHTTPステータスコード。 * `headers` - 文字列の `dict` 。 * `media_type` - メディアタイプを示す `str` 。例えば `"text/html"` 。 FastAPI (実際にはStarlette) は自動的にContent-Lengthヘッダーを含みます。また、media_typeに基づいたContent-Typeヘッダーを含み、テキストタイプのためにcharsetを追加します。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jul 19 19:14:58 GMT 2021 - 10.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Response.kt
level = DeprecationLevel.ERROR, ) fun protocol(): Protocol = protocol @JvmName("-deprecated_code") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "code"), level = DeprecationLevel.ERROR, ) fun code(): Int = code /** * Returns true if the code is in [200..300), which means the request was successfully received, * understood, and accepted. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 15.5K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
OkHttp is **not** source-compatible for Kotlin callers, but upgrading should be automatic thanks to Kotlin’s powerful deprecation features. Most developers should be able to use IntelliJ’s _Code Cleanup_ for a safe and fast upgrade. Backwards-Incompatible Changes ------------------------------ #### OkHttpClient final methods
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 16:58:16 GMT 2022 - 10.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
0x40, 10, 'c'.code, 'u'.code, 's'.code, 't'.code, 'o'.code, 'm'.code, '-'.code, 'k'.code, 'e'.code, 'y'.code, 13, 'c'.code, 'u'.code, 's'.code, 't'.code, 'o'.code, 'm'.code, '-'.code, 'h'.code, 'e'.code, 'a'.code,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 38.2K bytes - Viewed (0) -
CONTRIBUTING.md
- Once the tests pass, we now bring all the code into the internal code base, using a job called "copybara". **5. Copy to Google Internal codebase and run internal CI** - Once the PR is in the Google codebase, we make sure it integrates well with its dependencies and the rest of the system. - Rarely, If the tests fail at this stage, we cannot merge the code.
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu Mar 21 11:45:51 GMT 2024 - 15.6K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/dependencies-with-yield.md
FastAPI unterstützt Abhängigkeiten, die nach Abschluss einige <abbr title="Manchmal auch genannt „Exit Code“, „Cleanup Code“, „Teardown Code“, „Closing Code“, „Kontext Manager Exit Code“, usw.">zusätzliche Schritte ausführen</abbr>. Verwenden Sie dazu `yield` statt `return` und schreiben Sie die zusätzlichen Schritte / den zusätzlichen Code danach. !!! tip "Tipp" Stellen Sie sicher, dass Sie `yield` nur einmal pro Abhängigkeit verwenden.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:10:29 GMT 2024 - 13.5K bytes - Viewed (0)