Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1571 - 1580 of 1,985 for xpath (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh-hant/docs/advanced/response-headers.md

    # 回應標頭 { #response-headers }
    
    ## 使用 `Response` 參數 { #use-a-response-parameter }
    
    你可以在你的*路徑操作函式(path operation function)*中宣告一個 `Response` 型別的參數(就像處理 Cookie 一樣)。
    
    然後你可以在那個*暫時性的* `Response` 物件上設定標頭。
    
    {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *}
    
    接著你可以像平常一樣回傳任何你需要的物件(`dict`、資料庫模型等)。
    
    如果你宣告了 `response_model`,它仍會用來過濾並轉換你回傳的物件。
    
    FastAPI 會使用那個暫時性的回應來擷取標頭(還有 Cookie 與狀態碼),並把它們放到最終回應中;最終回應包含你回傳的值,且會依任何 `response_model` 進行過濾。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/lang/ClassUtil.java

            }
            return clazz.getName();
        }
    
        /**
         * Returns the resource path representation of the class name.
         *
         * @param clazz
         *            The class. Must not be {@literal null}.
         * @return The resource path.
         * @see #getResourcePath(String)
         */
        public static String getResourcePath(final Class<?> clazz) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/cookie-param-models.md

    If you go to the **API docs UI** at `/docs` you will be able to see the **documentation** for cookies for your *path operations*.
    
    But even if you **fill the data** and click "Execute", because the docs UI works with **JavaScript**, the cookies won't be sent, and you will see an **error** message as if you didn't write any values.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 11:48:27 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/groovy/elasticsearch.fips.gradle

            // ensure that bouncycastle is on classpath for the all of test types, must happen in evaluateAfter since the rest tests explicitly
            // set the class path to help maintain pure black box testing, and here we are adding to that classpath
            tasks.withType(Test).configureEach { Test test ->
              test.setClasspath(test.getClasspath().plus(extraFipsJars))
            }
          }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Sep 21 11:03:02 GMT 2021
    - 4.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            // Create a modified NetShareEnum to test encoding exception path
            NetShareEnum testEnum = new NetShareEnum(realConfig) {
                @Override
                protected int writeParametersWireFormat(byte[] dst, int dstIndex) {
                    // Simulate the encoding exception path
                    return 0;
                }
            };
    
            byte[] dst = new byte[256];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/testing.md

    先ほどと同じファイル構成で続けます:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    ここで、**FastAPI** アプリがある `main.py` ファイルには、他の path operation があります。
    
    エラーを返す可能性のある `GET` オペレーションがあります。
    
    いくつかのエラーを返す可能性のある `POST` オペレーションもあります。
    
    両方の *path operation* には `X-Token` ヘッダーが必要です。
    
    {* ../../docs_src/app_testing/app_b_an_py310/main.py *}
    
    ### 拡張版テストファイル { #extended-testing-file }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/handling-errors.md

    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
                    "item_id"
                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    将得到如下文本内容:
    
    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  8. src/archive/tar/strconv.go

    	if len(s) > len(b) {
    		f.err = ErrFieldTooLong
    	}
    	copy(b, s)
    	if len(s) < len(b) {
    		b[len(s)] = 0
    	}
    
    	// Some buggy readers treat regular files with a trailing slash
    	// in the V7 path field as a directory even though the full path
    	// recorded elsewhere (e.g., via PAX record) contains no trailing slash.
    	if len(s) > len(b) && b[len(b)-1] == '/' {
    		n := len(strings.TrimRight(s[:len(b)-1], "/"))
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 30 15:28:53 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/how-to/extending-openapi.md

    有些情況你可能需要修改自動產生的 OpenAPI 結構(schema)。
    
    本章將示範如何做。
    
    ## 一般流程 { #the-normal-process }
    
    一般(預設)的流程如下。
    
    `FastAPI` 應用程式(實例)有一個 `.openapi()` 方法,會回傳 OpenAPI 結構。
    
    在建立應用物件時,會同時註冊一個 `/openapi.json`(或你在 `openapi_url` 設定的路徑)的路徑操作(path operation)。
    
    這個路徑只會回傳一個 JSON 回應,內容就是應用的 `.openapi()` 方法結果。
    
    預設情況下,`.openapi()` 會先檢查 `.openapi_schema` 屬性是否已有內容,有的話就直接回傳。
    
    若沒有,則會呼叫 `fastapi.openapi.utils.get_openapi` 這個工具函式來產生。
    
    `get_openapi()` 函式會接收以下參數:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_body_nested_models/test_tutorial004.py

                "paths": {
                    "/items/{item_id}": {
                        "put": {
                            "parameters": [
                                {
                                    "in": "path",
                                    "name": "item_id",
                                    "required": True,
                                    "schema": {
                                        "title": "Item Id",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
Back to Top