Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for D202 (0.2 sec)

  1. docs/ja/docs/tutorial/background-tasks.md

    これは、リクエスト後に処理を開始する必要があるが、クライアントがレスポンスを受け取る前に処理を終える必要のない操作に役立ちます。
    
    これには、たとえば次のものが含まれます。
    
    * 作業実行後のメール通知:
        * メールサーバーへの接続とメールの送信は「遅い」(数秒) 傾向があるため、すぐにレスポンスを返し、バックグラウンドでメール通知ができます。
    * データ処理:
        * たとえば、時間のかかる処理を必要とするファイル受信時には、「受信済み」(HTTP 202) のレスポンスを返し、バックグラウンドで処理できます。
    
    ## `BackgroundTasks` の使用
    
    まず初めに、`BackgroundTasks` をインポートし、` BackgroundTasks` の型宣言と共に、*path operation 関数* のパラメーターを定義します:
    
    ```Python hl_lines="1  13"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 15 16:12:39 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/background-tasks.md

    - Processando dados:
      - Por exemplo, digamos que você receba um arquivo que deve passar por um processo lento, você pode retornar uma resposta de "Aceito" (HTTP 202) e processá-lo em segundo plano.
    
    ## Usando `BackgroundTasks`
    
    Primeiro, importe `BackgroundTasks` e defina um parâmetro em sua _função de operação de caminho_ com uma declaração de tipo de `BackgroundTasks`:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon May 09 23:44:32 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/background-tasks.md

    * Daten verarbeiten:
        * Angenommen, Sie erhalten eine Datei, die einen langsamen Prozess durchlaufen muss. Sie können als Response „Accepted“ (HTTP 202) zurückgeben und die Datei im Hintergrund verarbeiten.
    
    ## `BackgroundTasks` verwenden
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jan 12 14:15:29 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. api/go1.11.txt

    pkg debug/elf, const EM_AVR Machine
    pkg debug/elf, const EM_AVR32 = 185
    pkg debug/elf, const EM_AVR32 Machine
    pkg debug/elf, const EM_BA1 = 201
    pkg debug/elf, const EM_BA1 Machine
    pkg debug/elf, const EM_BA2 = 202
    pkg debug/elf, const EM_BA2 Machine
    pkg debug/elf, const EM_BLACKFIN = 106
    pkg debug/elf, const EM_BLACKFIN Machine
    pkg debug/elf, const EM_BPF = 247
    pkg debug/elf, const EM_BPF Machine
    pkg debug/elf, const EM_C166 = 116
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 22 03:48:56 GMT 2018
    - 25K bytes
    - Viewed (2)
  5. CHANGELOG/CHANGELOG-1.12.md

    - The OpenAPI spec and documentation now reflect the 202 Accepted response path for delete requests. Note that this change in the openapi spec may affect some clients that depend on the error paths.  ([#63418](https://github.com/kubernetes/kubernetes/pull/63418), [@roycaihw](https://github.com/roycaihw))...
    Plain Text
    - Registered: Fri Apr 26 09:05:10 GMT 2024
    - Last Modified: Thu Feb 06 06:04:15 GMT 2020
    - 293.8K bytes
    - Viewed (1)
  6. docs/en/docs/release-notes.md

    * 🐛 Fix docs script to generate a new translation language with `overrides` boilerplate. PR [#3202](https://github.com/tiangolo/fastapi/pull/3202) by [@tiangolo](https://github.com/tiangolo).
    * ✨ Add new Deta banner badge with new sponsorship tier 🙇. PR [#3194](https://github.com/tiangolo/fastapi/pull/3194) by [@tiangolo](https://github.com/tiangolo).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  7. api/go1.1.txt

    pkg net, type TCPAddr struct, Zone string
    pkg net, type UDPAddr struct, Zone string
    pkg net/http, const DefaultMaxHeaderBytes = 1048576
    pkg net/http, const DefaultMaxIdleConnsPerHost = 2
    pkg net/http, const StatusAccepted = 202
    pkg net/http, const StatusBadGateway = 502
    pkg net/http, const StatusBadRequest = 400
    pkg net/http, const StatusConflict = 409
    pkg net/http, const StatusContinue = 100
    pkg net/http, const StatusCreated = 201
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CacheTest.kt

        // We can't test 100 because it's not really a response.
        // assertCached(false, 100);
        assertCached(false, 101)
        assertCached(true, 200)
        assertCached(false, 201)
        assertCached(false, 202)
        assertCached(true, 203)
        assertCached(true, 204)
        assertCached(false, 205)
        assertCached(false, 206) // Electing to not cache partial responses
        assertCached(false, 207)
        assertCached(true, 300)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.6.md

    * Updating apiserver to return http status code 202 for a delete request when the resource is not immediately deleted because of user requesting cascading deletion using DeleteOptions.OrphanDependents=false. ([#41165](https://github.com/kubernetes/kubernetes/pull/41165), [@nikhiljindal](https://gith...
    Plain Text
    - Registered: Fri Apr 26 09:05:10 GMT 2024
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 304K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/background-tasks.md

    이러한 작업에는 다음이 포함됩니다.
    
    * 작업을 수행한 후 전송되는 이메일 알림
        * 이메일 서버에 연결하고 이메일을 전송하는 것은 (몇 초 정도) "느린" 경향이 있으므로, 응답은 즉시 반환하고 이메일 알림은 백그라운드에서 전송하는 게 가능합니다.
    * 데이터 처리:
        * 예를 들어 처리에 오랜 시간이 걸리는 데이터를 받았을 때 "Accepted" (HTTP 202)을 반환하고, 백그라운드에서 데이터를 처리할 수 있습니다.
    
    ## `백그라운드 작업` 사용
    
    먼저 아래와 같이 `BackgroundTasks`를 임포트하고, `BackgroundTasks`를 _경로 작동 함수_ 에서 매개변수로 가져오고 정의합니다.
    
    ```Python hl_lines="1  13"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Feb 11 13:48:31 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top