Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 705 for imagem (0.04 seconds)

  1. docs/zh-hant/docs/advanced/additional-responses.md

                    }
                }
            }
        }
    }
    ```
    
    ## 主回應的其他媒體型別 { #additional-media-types-for-the-main-response }
    
    你可以用同一個 `responses` 參數,替相同的主回應新增不同的媒體型別。
    
    例如,你可以新增 `image/png` 這種媒體型別,宣告你的「路徑操作」可以回傳 JSON 物件(媒體型別為 `application/json`)或一張 PNG 圖片:
    
    {* ../../docs_src/additional_responses/tutorial002_py310.py hl[17:22,26] *}
    
    /// note | 注意
    
    請注意你必須直接用 `FileResponse` 回傳圖片。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  2. src/main/assemblies/files/generate-thumbnail

        "image/png")  format_hint="png:" ;;
        "image/jpeg") format_hint="jpeg:" ;;
        "image/bmp"|"image/x-windows-bmp"|"image/x-ms-bmp") format_hint="bmp:" ;;
        "image/vnd.adobe.photoshop"|"image/photoshop"|"application/x-photoshop"|"application/photoshop") format_hint="psd:" ;;
      esac
      ${im_cmd} -thumbnail ${image_size} "${format_hint}${target_file}" "${output_file}"
    elif [[ x"${cmd_type}" = "x" ]] ; then
      echo "No filetype."
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/deployment/docker.md

    # 在容器中使用 FastAPI - Docker { #fastapi-in-containers-docker }
    
    部署 FastAPI 應用時,一個常見做法是建置一個「Linux 容器映像(container image)」。通常使用 [Docker](https://www.docker.com/) 來完成。之後你可以用多種方式部署該容器映像。
    
    使用 Linux 容器有多種優點,包括安全性、可重現性、簡單性等。
    
    /// tip | 提示
    
    趕時間而且已經懂這些?直接跳到下面的 [`Dockerfile` 👇](#build-a-docker-image-for-fastapi)。
    
    ///
    
    <details>
    <summary>Dockerfile 預覽 👀</summary>
    
    ```Dockerfile
    FROM python:3.14
    
    WORKDIR /code
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 24.9K bytes
    - Click Count (0)
  4. native-image-tests/README.md

    Native Image Tests
    ==================
    
    This executes OkHttp's test suite inside a Graalvm image.
    
    Execute
    -------
    
    The native image runs JUnit 5 tests in the project.
    
    ```
    ./gradlew -PgraalBuild=true --info native-image-tests:nativeTest
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 21:44:11 GMT 2025
    - 242 bytes
    - Click Count (0)
  5. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LifecycleProvider.java

     *     public Collection&lt;Lifecycle&gt; provides() {
     *         return Collections.singleton(
     *             lifecycle("deploy-docker", Arrays.asList(
     *                 "build-image",
     *                 "tag-image",
     *                 "push-image"
     *             ))
     *         );
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.Lifecycle
     * @see org.apache.maven.api.spi.ExtensibleEnumProvider
     * @since 4.0.0
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. docs/de/docs/advanced/additional-responses.md

    Sie können denselben `responses`-Parameter verwenden, um verschiedene Medientypen für dieselbe Haupt-Response hinzuzufügen.
    
    Sie können beispielsweise einen zusätzlichen Medientyp `image/png` hinzufügen und damit deklarieren, dass Ihre *Pfadoperation* ein JSON-Objekt (mit dem Medientyp `application/json`) oder ein PNG-Bild zurückgeben kann:
    
    {* ../../docs_src/additional_responses/tutorial002_py310.py hl[17:22,26] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  7. src/test/resources/data/gsaconfig.xml

    <?xml version="1.0" encoding="UTF-8" ?>
    <eef>
    	<config Schema="2.0" EnterpriseVersion="'7.6.50'">
    		<collections Count="3">
    			<collection Name="fess">
    				<bad_urls><![CDATA[
    https://fess.codelibs.org/images/
                  ]]></bad_urls>
    				<good_urls><![CDATA[
    https://fess.codelibs.org/
    https://www.codelibs.org/
                  ]]></good_urls>
    				<prerequisite_results><![CDATA[
    20
                  ]]></prerequisite_results>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun May 13 06:51:57 GMT 2018
    - 1.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/util/MimeMapTest.java

                assertEquals("text/html", mimeMap.getMimeType("htm"));
                assertEquals("image/jpeg", mimeMap.getMimeType("jpg"));
                assertEquals("image/jpeg", mimeMap.getMimeType("jpeg"));
                assertEquals("image/gif", mimeMap.getMimeType("gif"));
                assertEquals("image/png", mimeMap.getMimeType("png"));
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. fastapi/.agents/skills/fastapi/references/streaming.md

    ```python
    from fastapi import FastAPI
    from fastapi.responses import StreamingResponse
    from app.utils import read_image
    
    app = FastAPI()
    
    
    class PNGStreamingResponse(StreamingResponse):
        media_type = "image/png"
    
    @app.get("/image", response_class=PNGStreamingResponse)
    def stream_image_no_async_no_annotation():
        with read_image() as image_file:
            yield from image_file
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  10. tests/compose.yml

      mssql:
        image: '${MSSQL_IMAGE}:latest'
        ports:
          - "127.0.0.1:9930:1433"
        environment:
          - TZ=Asia/Shanghai
          - ACCEPT_EULA=Y
          - MSSQL_SA_PASSWORD=LoremIpsum86
      tidb:
        image: 'pingcap/tidb:v6.5.0'
        ports:
          - "127.0.0.1:9940:4000"
        command: /tidb-server -store unistore -path "" -lease 0s > tidb.log 2>&1 &
      gaussdb:
        image: 'opengauss/opengauss:7.0.0-RC1.B023'
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Aug 04 04:07:30 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top