Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1441 - 1450 of 1,709 for Response_ (0.07 seconds)

  1. docs/es/docs/tutorial/security/oauth2-jwt.md

    Crea una variable `ALGORITHM` con el algoritmo usado para firmar el token JWT y configúralo a `"HS256"`.
    
    Crea una variable para la expiración del token.
    
    Define un Modelo de Pydantic que se usará en el endpoint de token para el response.
    
    Crea una función de utilidad para generar un nuevo token de acceso.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,82:90] *}
    
    ## Actualizar las dependencias { #update-the-dependencies }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/alternatives.md

    它設計為函式接收兩個參數,一個是「request」,一個是「response」。然後你從 request「讀取」資料、往 response「寫入」資料。由於這種設計,無法使用標準的 Python 型別提示,直接以函式參數宣告請求參數與主體。
    
    因此,資料驗證、序列化與文件必須以程式碼手動完成,無法自動化。或者需在 Falcon 之上實作另一層框架(如 Hug)。其他受 Falcon 設計啟發的框架也有同樣的區別:將 request 與 response 物件作為參數。
    
    /// check | 啟發 **FastAPI**
    
    設法取得優秀的效能。
    
    連同 Hug(Hug 建立於 Falcon 之上)一起,也啟發 **FastAPI** 在函式中宣告一個 `response` 參數。
    
    不過在 FastAPI 中它是可選的,主要用來設定標頭、Cookie 與替代狀態碼。
    
    ///
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 20K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Ascii.java

       * a response from a remote station. It may be used as a "Who Are You" (WRU) to obtain
       * identification, or may be used to obtain station status, or both.
       *
       * @since 8.0
       */
      public static final byte ENQ = 5;
    
      /**
       * Acknowledge: A communication control character transmitted by a receiver as an affirmative
       * response to a sender.
       *
       * @since 8.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

         * @param file the file object
         */
        public void setFile(Object file) {
            this.file = file;
        }
    
        /**
         * Update the file ID after successful create response
         * @param newFileId the new 16-byte file ID
         */
        public void updateFileId(byte[] newFileId) {
            if (newFileId.length != 16) {
                throw new IllegalArgumentException("File ID must be 16 bytes");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. docs/pt/docs/advanced/async-tests.md

    Então podemos criar um `AsyncClient` com a aplicação, e enviar requisições assíncronas para ela utilizando `await`.
    
    {* ../../docs_src/async_tests/app_a_py310/test_main.py hl[9:12] *}
    
    Isso é equivalente a:
    
    ```Python
    response = client.get('/')
    ```
    
    ...que nós utilizamos para fazer as nossas requisições utilizando o `TestClient`.
    
    /// tip | Dica
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  6. docs/pt/docs/advanced/dataclasses.md

    Mas se você tem um monte de dataclasses por aí, este é um truque legal para usá-las para alimentar uma API web usando FastAPI. 🤓
    
    ///
    
    ## Dataclasses em `response_model` { #dataclasses-in-response-model }
    
    Você também pode usar `dataclasses` no parâmetro `response_model`:
    
    {* ../../docs_src/dataclasses_/tutorial002_py310.py hl[1,6:12,18] *}
    
    A dataclass será automaticamente convertida para uma dataclass Pydantic.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  7. docs/uk/docs/tutorial/background-tasks.md

    Також можна використовувати `BackgroundTask` окремо в FastAPI, але для цього вам доведеться створити об'єкт у коді та повернути Starlette `Response`, включаючи його.
    
    Детальніше можна почитати в [офіційній документації Starlette про Background Tasks](https://www.starlette.dev/background/).
    
    ## Застереження { #caveat }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  8. cmd/api-errors.go

    }
    
    func (e errorCodeMap) ToAPIErr(errCode APIErrorCode) APIError {
    	return e.ToAPIErrWithErr(errCode, nil)
    }
    
    // error code to APIError structure, these fields carry respective
    // descriptions for all the error responses.
    var errorCodes = errorCodeMap{
    	ErrInvalidCopyDest: {
    		Code:           "InvalidRequest",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 93K bytes
    - Click Count (3)
  9. docs/SMB3_IMPLEMENTATION_PLAN.md

    ```
    
    #### 1.2 Implementation Tasks
    - [ ] Define lease state constants (SMB2_LEASE_READ, SMB2_LEASE_HANDLE, SMB2_LEASE_WRITE)
    - [ ] Implement lease key generation and management
    - [ ] Add lease context to Create request/response
    - [ ] Implement lease break notification handling
    - [ ] Modify SmbFile to support lease-based caching
    - [ ] Add lease upgrade/downgrade logic
    - [ ] Implement lease epoch tracking for v2 leases
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

       * HTTP/2 only. Send a push promise header block.
       *
       * A push promise contains all the headers that pertain to a server-initiated request, and a
       * `promisedStreamId` to which response frames will be delivered. Push promise frames are sent as
       * a part of the response to `streamId`. The `promisedStreamId` has a priority of one greater than
       * `streamId`.
       *
       * @param streamId client-initiated stream ID.  Must be an odd number.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11K bytes
    - Click Count (0)
Back to Top