Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 532 for html5 (0.24 sec)

  1. docs/zh/docs/advanced/templates.md

        通过声明 `response_class=HTMLResponse`,API 文档就能识别响应的对象是 HTML。
    
    !!! note "技术细节"
    
        您还可以使用 `from starlette.templating import Jinja2Templates`。
    
        **FastAPI** 的 `fastapi.templating` 只是为开发者提供的快捷方式。实际上,绝大多数可用响应都直接继承自 Starlette。 `Request` 与 `StaticFiles` 也一样。
    
    ## 编写模板
    
    编写模板 `templates/item.html`,代码如下:
    
    ```jinja hl_lines="7"
    {!../../../docs_src/templates/templates/item.html!}
    ```
    
    它会显示从 **context** 字典中提取的 `id`:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:45:16 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. README.md

    **Linux GPU**                 | [![Status](https://storage.googleapis.com/tensorflow-kokoro-build-badges/ubuntu-gpu-py3.svg)](https://storage.googleapis.com/tensorflow-kokoro-build-badges/ubuntu-gpu-py3.html) | [PyPI](https://pypi.org/project/tf-nightly-gpu/)
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Oct 05 15:00:10 GMT 2023
    - 11.9K bytes
    - Viewed (0)
  3. docs/extensions/fan-out/README.md

    ## How to enable Fan-Out Uploads ?
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 25 05:51:07 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingConfig.java

                public static final String JCIFS_PREFIX = "jcifs.";
                public static final String HTML_CANONICAL_XPATH = "html.canonical.xpath";
                public static final String HTML_PRUNED_TAGS = "html.pruned.tags";
                public static final String PIPELINE = "pipeline";
                public static final String IGNORE_ROBOTS_TAGS = "ignore.robots.tags";
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. docs/de/docs/how-to/custom-docs-ui-assets.md

    Jetzt können Sie die *Pfadoperationen* für die benutzerdefinierten Dokumentationen erstellen.
    
    Sie können die internen Funktionen von FastAPI wiederverwenden, um die HTML-Seiten für die Dokumentation zu erstellen und ihnen die erforderlichen Argumente zu übergeben:
    
    * `openapi_url`: die URL, unter welcher die HTML-Seite für die Dokumentation das OpenAPI-Schema für Ihre API abrufen kann. Sie können hier das Attribut `app.openapi_url` verwenden.
    * `title`: der Titel Ihrer API.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:17:36 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  6. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

        }
      }
    
      private fun contentType(file: File): String {
        return when {
          file.name.endsWith(".css") -> "text/css"
          file.name.endsWith(".gif") -> "image/gif"
          file.name.endsWith(".html") -> "text/html"
          file.name.endsWith(".jpeg") -> "image/jpeg"
          file.name.endsWith(".jpg") -> "image/jpeg"
          file.name.endsWith(".js") -> "application/javascript"
          file.name.endsWith(".png") -> "image/png"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Protocol.kt

     * https, etc.) of the URL, not the protocol (http/1.1, spdy/3.1, etc.). OkHttp uses the word
     * *protocol* to identify how HTTP messages are framed.
     *
     * [ietf_alpn]: http://tools.ietf.org/html/draft-ietf-tls-applayerprotoneg
     */
    enum class Protocol(private val protocol: String) {
      /**
       * An obsolete plaintext framing that does not use persistent sockets by default.
       */
      HTTP_1_0("http/1.0"),
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:33 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/BaseEncoding.java

      /**
       * The "base64" base encoding specified by <a
       * href="http://tools.ietf.org/html/rfc4648#section-4">RFC 4648 section 4</a>, Base 64 Encoding.
       * (This is the same as the base 64 encoding from <a
       * href="http://tools.ietf.org/html/rfc3548#section-3">RFC 3548</a>.)
       *
       * <p>The character {@code '='} is used for padding, but can be {@linkplain #omitPadding()
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    !!! note "Technical Details"
        Any function that is valid to use with:
    
        * <a href="https://docs.python.org/3/library/contextlib.html#contextlib.contextmanager" class="external-link" target="_blank">`@contextlib.contextmanager`</a> or
        * <a href="https://docs.python.org/3/library/contextlib.html#contextlib.asynccontextmanager" class="external-link" target="_blank">`@contextlib.asynccontextmanager`</a>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py

            yield client
        static_dir.rmdir()
    
    
    def test_swagger_ui_html(client: TestClient):
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        assert "/static/swagger-ui-bundle.js" in response.text
        assert "/static/swagger-ui.css" in response.text
    
    
    def test_swagger_ui_oauth2_redirect_html(client: TestClient):
        response = client.get("/docs/oauth2-redirect")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 1.2K bytes
    - Viewed (0)
Back to top