Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 2,620 for note (0.03 sec)

  1. docs/zh/docs/advanced/additional-status-codes.md

    ```
    
    /// warning | "警告"
    
    当你直接返回一个像上面例子中的 `Response` 对象时,它会直接返回。
    
    FastAPI 不会用模型等对该响应进行序列化。
    
    确保其中有你想要的数据,且返回的值为合法的 JSON(如果你使用 `JSONResponse` 的话)。
    
    ///
    
    /// note | "技术细节"
    
    你也可以使用 `from starlette.responses import JSONResponse`。 
    
    出于方便,**FastAPI** 为开发者提供同 `starlette.responses` 一样的 `fastapi.responses`。但是大多数可用的响应都是直接来自 Starlette。`status` 也是一样。
    
    ///
    
    ## OpenAPI 和 API 文档
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/request-forms.md

    ///
    
    /// tip | "提示"
    
    声明表单体要显式使用 `Form` ,否则,FastAPI 会把该参数当作查询参数或请求体(JSON)参数。
    
    ///
    
    ## 关于 "表单字段"
    
    与 JSON 不同,HTML 表单(`<form></form>`)向服务器发送数据通常使用「特殊」的编码。
    
    **FastAPI** 要确保从正确的位置读取数据,而不是读取 JSON。
    
    /// note | "技术细节"
    
    表单数据的「媒体类型」编码一般为 `application/x-www-form-urlencoded`。
    
    但包含文件的表单编码为 `multipart/form-data`。文件处理详见下节。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/static-files.md

    * Импортируйте `StaticFiles`.
    * "Примонтируйте" экземпляр `StaticFiles()` с указанием определенной директории.
    
    ```Python hl_lines="2  6"
    {!../../docs_src/static_files/tutorial001.py!}
    ```
    
    /// note | "Технические детали"
    
    Вы также можете использовать `from starlette.staticfiles import StaticFiles`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/OkHttp.kt

       * qualifier are not unique and should only be used in development environments. If you create
       * custom builds of OkHttp please include a qualifier your version name, like "4.7.0-mycompany.3".
       * The version string is configured in the root project's `build.gradle`.
       *
       * Note that OkHttp's runtime version may be different from the version specified in your
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/features/AndroidIncompatible.java

    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with MediumTest or LargeTest.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/AndroidIncompatible.java

    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with MediumTest or LargeTest.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 26 14:31:13 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AndroidIncompatible.java

    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with MediumTest or LargeTest.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/AndroidIncompatible.java

    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with MediumTest or LargeTest.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 15 13:47:32 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/AndroidIncompatible.java

    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with MediumTest or LargeTest.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 15 13:47:32 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/AndroidIncompatible.java

    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with MediumTest or LargeTest.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 15 13:47:32 UTC 2016
    - 1.6K bytes
    - Viewed (0)
Back to top