Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1261 - 1270 of 1,471 for requer (0.04 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.nio.charset.Charset
    
    /**
     * An [RFC 2045][rfc_2045] Media Type, appropriate to describe the content type of an HTTP request
     * or response body.
     *
     * [rfc_2045]: http://tools.ietf.org/html/rfc2045
     */
    class MediaType internal constructor(
      internal val mediaType: String,
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/witness/WitnessRpcMessage.java

         * Creates a new witness RPC message with the specified operation number.
         *
         * @param opnum the operation number for this message
         */
        protected WitnessRpcMessage(int opnum) {
            ptype = 0; // REQUEST
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
            this.opnum = opnum;
        }
    
        @Override
        public int getOpnum() {
            return opnum;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/body-updates.md

    That would generate a `dict` with only the data that was set when creating the `item` model, excluding default values.
    
    Then you can use this to generate a `dict` with only the data that was set (sent in the request), omitting default values:
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    ### Using Pydantic's `update` parameter { #using-pydantics-update-parameter }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  4. cmd/erasure_test.go

    	{dataBlocks: 8, parityBlocks: 4, missingData: 2, missingParity: 2, reconstructParity: false, shouldFail: false},
    }
    
    func TestErasureEncodeDecode(t *testing.T) {
    	data := make([]byte, 256)
    	if _, err := io.ReadFull(rand.Reader, data); err != nil {
    		t.Fatalf("Failed to read random data: %v", err)
    	}
    	for i, test := range erasureEncodeDecodeTests {
    		buffer := make([]byte, len(data), 2*len(data))
    		copy(buffer, data)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/schema-extra-example.md

    # 声明请求示例数据 { #declare-request-example-data }
    
    你可以为你的应用将接收的数据声明示例。
    
    这里有几种实现方式。
    
    ## Pydantic 模型中的额外 JSON Schema 数据 { #extra-json-schema-data-in-pydantic-models }
    
    你可以为一个 Pydantic 模型声明 `examples`,它们会被添加到生成的 JSON Schema 中。
    
    {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *}
    
    这些额外信息会原样添加到该模型输出的 JSON Schema 中,并会在 API 文档中使用。
    
    你可以使用属性 `model_config`,它接收一个 `dict`,详见 [Pydantic 文档:配置](https://docs.pydantic.dev/latest/api/config/)。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/query-params-str-validations.md

        "foo",
        "bar"
      ]
    }
    ```
    
    /// tip
    
    To declare a query parameter with a type of `list`, like in the example above, you need to explicitly use `Query`, otherwise it would be interpreted as a request body.
    
    ///
    
    The interactive API docs will update accordingly, to allow multiple values:
    
    <img src="/img/tutorial/query-params-str-validations/image02.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  7. docs/pt/docs/advanced/behind-a-proxy.md

    sequenceDiagram
        participant Client
        participant Proxy as Proxy/Load Balancer
        participant Server as FastAPI Server
    
        Client->>Proxy: HTTPS Request<br/>Host: mysuperapp.com<br/>Path: /items
    
        Note over Proxy: Proxy adds forwarded headers
    
        Proxy->>Server: HTTP Request<br/>X-Forwarded-For: [client IP]<br/>X-Forwarded-Proto: https<br/>X-Forwarded-Host: mysuperapp.com<br/>Path: /items
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  8. docs/zh/docs/advanced/security/oauth2-scopes.md

    这里我们使用之前创建的同一个 OAuth2 方案,并把它声明为依赖:`oauth2_scheme`。
    
    因为这个依赖函数本身没有任何作用域需求,所以我们可以用 `Depends(oauth2_scheme)`,当不需要指定安全作用域时,不必使用 `Security`。
    
    我们还声明了一个从 `fastapi.security` 导入的特殊参数 `SecurityScopes` 类型。
    
    这个 `SecurityScopes` 类类似于 `Request`(`Request` 用来直接获取请求对象)。
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[9,106] *}
    
    ## 使用 `scopes` { #use-the-scopes }
    
    参数 `security_scopes` 的类型是 `SecurityScopes`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/advanced/security/oauth2-scopes.md

    因為此相依函式本身沒有任何 scope 要求,所以我們可以用 `Depends` 搭配 `oauth2_scheme`,當不需要指定安全性 scopes 時就不必用 `Security`。
    
    我們也宣告了一個型別為 `SecurityScopes` 的特殊參數,從 `fastapi.security` 匯入。
    
    這個 `SecurityScopes` 類似於 `Request`(`Request` 用來直接取得請求物件)。
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[9,106] *}
    
    ## 使用這些 `scopes` { #use-the-scopes }
    
    參數 `security_scopes` 的型別是 `SecurityScopes`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  10. docs/config/README.md

    ```
    KEY:
    etcd  federate multiple clusters for IAM and Bucket DNS
    
    ARGS:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 18.1K bytes
    - Click Count (1)
Back to Top