Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 707 for html (0.59 sec)

  1. tests/test_tutorial/test_websockets/test_tutorial003_py39.py

    
    @pytest.fixture(name="html")
    def get_html():
        from docs_src.websockets.tutorial003_py39 import html
    
        return html
    
    
    @pytest.fixture(name="client")
    def get_client(app: FastAPI):
        client = TestClient(app)
    
        return client
    
    
    @needs_py39
    def test_get(client: TestClient, html: str):
        response = client.get("/")
        assert response.text == html
    
    
    @needs_py39
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/custom-docs-ui-assets.md

    ```
    
    ### Include the custom docs
    
    Now you can create the *path operations* for the custom docs.
    
    You can re-use FastAPI's internal functions to create the HTML pages for the docs, and pass them the needed arguments:
    
    * `openapi_url`: the URL where the HTML page for the docs can get the OpenAPI schema for your API. You can use here the attribute `app.openapi_url`.
    * `title`: the title of your API.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  3. api/src/site/site.xml

      <edit>${project.scm.url}</edit>
    
      <body>
        <menu name="Overview">
          <item name="Introduction" href="index.html"/>
          <item name="Javadocs" href="apidocs/index.html"/>
          <item name="Source Xref" href="xref/index.html"/>
          <!--item name="FAQ" href="faq.html"/-->
        </menu>
    
        <menu ref="parent"/>
        <menu ref="reports"/>
      </body>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Dec 31 16:32:07 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  4. maven-builder-support/src/site/site.xml

      <edit>${project.scm.url}</edit>
    
      <body>
        <menu name="Overview">
          <item name="Introduction" href="index.html"/>
          <item name="Javadocs" href="apidocs/index.html"/>
          <item name="Source Xref" href="xref/index.html"/>
          <!--item name="FAQ" href="faq.html"/-->
        </menu>
      </body>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  5. docs/bucket/retention/README.md

    - [Use `mc` with MinIO Server](https://min.io/docs/minio/linux/reference/minio-mc.html#quickstart)
    - [Use `aws-cli` with MinIO Server](https://min.io/docs/minio/linux/integrations/aws-cli-with-minio.html)
    - [Use `minio-go` SDK with MinIO Server](https://min.io/docs/minio/linux/developers/go/minio-go.html)
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  6. ReadMe.md

     * [Kotlin Multiplatform Benefits](https://kotlinlang.org/docs/reference/multiplatform.html)
     * [Share code on all platforms](https://kotlinlang.org/docs/reference/mpp-share-on-platforms.html#share-code-on-all-platforms)
     * [Share code on similar platforms](https://kotlinlang.org/docs/reference/mpp-share-on-platforms.html#share-code-on-similar-platforms)
    
    ## Editing Kotlin
    
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 11 14:28:46 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_custom_response/test_tutorial004.py

    from fastapi.testclient import TestClient
    
    from docs_src.custom_response.tutorial004 import app
    
    client = TestClient(app)
    
    
    html_contents = """
        <html>
            <head>
                <title>Some HTML in here</title>
            </head>
            <body>
                <h1>Look ma! HTML!</h1>
            </body>
        </html>
        """
    
    
    def test_get_custom_response():
        response = client.get("/items/")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/templates.md

    ## Escrevendo Templates
    
    Então você pode escrever um template em `templates/item.html`, por exemplo:
    
    ```jinja hl_lines="7"
    {!../../../docs_src/templates/templates/item.html!}
    ```
    
    ### Interpolação de Valores no Template
    
    No código HTML que contém:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 28 04:05:17 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. docs/distributed/README.md

    ## Explore Further
    
    - [MinIO Erasure Code QuickStart Guide](https://min.io/docs/minio/linux/operations/concepts/erasure-coding.html)
    - [Use `mc` with MinIO Server](https://min.io/docs/minio/linux/reference/minio-mc.html)
    - [Use `aws-cli` with MinIO Server](https://min.io/docs/minio/linux/integrations/aws-cli-with-minio.html)
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

         */
        @Test
        public void testGetFromStream() throws Exception {
            final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/aaa.html";
            final String contentType = MimeTypeUtil.guessContentType(path);
            assertEquals("text/html", contentType);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFromStream_gif() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
Back to top