Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1621 - 1630 of 1,967 for respond (0.07 seconds)

  1. docs/uk/docs/deployment/https.md

    <img src="/img/deployment/https/https05.drawio.svg">
    
    ### HTTP-відповідь { #http-response }
    
    Застосунок обробить запит і надішле **звичайну (незашифровану) HTTP-відповідь** TLS Termination Proxy.
    
    <img src="/img/deployment/https/https06.drawio.svg">
    
    ### HTTPS-відповідь { #https-response }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  2. docs/zh/docs/advanced/json-base64-bytes.md

    如果你的应用需要接收和发送 JSON 数据,但其中需要包含二进制数据,可以将其编码为 base64。
    
    ## Base64 与文件 { #base64-vs-files }
    
    请先考虑是否可以使用 [请求文件](../tutorial/request-files.md) 来上传二进制数据,并使用 [自定义响应 - FileResponse](./custom-response.md#fileresponse--fileresponse-) 来发送二进制数据,而不是把它编码进 JSON。
    
    JSON 只能包含 UTF-8 编码的字符串,因此无法直接包含原始字节。
    
    Base64 可以把二进制数据编码为字符串,但为此会使用比原始二进制更多的字符,因此通常比直接使用文件的效率更低。
    
    仅当你确实需要在 JSON 中包含二进制数据且无法使用文件时,才使用 base64。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

    /**
     * SMB1 transaction subcommand for transacting with a named pipe.
     *
     * This class implements the TRANS_TRANSACT_NAMED_PIPE transaction which
     * combines writing data to a pipe and reading the response in a single operation.
     * This is more efficient than separate write and read operations.
     */
    public class TransTransactNamedPipe extends SmbComTransaction {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/header-params.md

    {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *}
    
    Si te comunicas con esa *path operation* enviando dos headers HTTP como:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    El response sería como:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## Recapitulación { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  5. docs/fr/docs/advanced/dataclasses.md

    Mais si vous avez déjà un ensemble de dataclasses sous la main, c'est une astuce pratique pour les utiliser afin d'alimenter une API Web avec FastAPI. 🤓
    
    ///
    
    ## Utiliser des dataclasses dans `response_model` { #dataclasses-in-response-model }
    
    Vous pouvez aussi utiliser `dataclasses` dans le paramètre `response_model` :
    
    {* ../../docs_src/dataclasses_/tutorial002_py310.py hl[1,6:12,18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/async-tests.md

    注意,測試函式現在是 `async def`,而不是像使用 `TestClient` 時那樣僅用 `def`。
    
    ///
    
    接著,我們可以用該應用建立 `AsyncClient`,並以 `await` 發送非同步請求。
    
    {* ../../docs_src/async_tests/app_a_py310/test_main.py hl[9:12] *}
    
    這等同於:
    
    ```Python
    response = client.get('/')
    ```
    
    也就是先前用 `TestClient` 發送請求時所用的寫法。
    
    /// tip
    
    注意,對新的 `AsyncClient` 需搭配 async/await —— 請求是非同步的。
    
    ///
    
    /// warning
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  7. docs/de/docs/tutorial/query-params-str-validations.md

    würden Sie die mehreren `q`-*Query-Parameter*-Werte (`foo` und `bar`) in einer Python-`list` in Ihrer *Pfadoperation-Funktion* im *Funktionsparameter* `q` erhalten.
    
    So wäre die <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr> zu dieser URL:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    ```
    
    /// tip | Tipp
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/cors.md

    * `max_age` - Définit un temps maximum (en secondes) pendant lequel les navigateurs peuvent mettre en cache les réponses CORS. Par défaut `600`.
    
    Le middleware répond à deux types particuliers de requêtes HTTP ...
    
    ### Requêtes CORS de pré‑vérification { #cors-preflight-requests }
    
    Il s’agit de toute requête `OPTIONS` avec les en-têtes `Origin` et `Access-Control-Request-Method`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

     */
    package okhttp3.internal.ws
    
    import okio.Buffer
    import okio.ByteString.Companion.encodeUtf8
    
    object WebSocketProtocol {
      /** Magic value which must be appended to the key in a response header. */
      internal const val ACCEPT_MAGIC = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"
    
      /*
      Each frame starts with two bytes of data.
    
       0 1 2 3 4 5 6 7    0 1 2 3 4 5 6 7
      +-+-+-+-+-------+  +-+-------------+
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. docs/ru/docs/tutorial/background-tasks.md

    По‑прежнему можно использовать один `BackgroundTask` в FastAPI, но тогда вам нужно создать объект в своём коде и вернуть Starlette `Response`, включающий его.
    
    Подробнее см. в [официальной документации Starlette по фоновым задачам](https://www.starlette.dev/background/).
    
    ## Предостережение { #caveat }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 7.5K bytes
    - Click Count (0)
Back to Top