Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for convert_type (1.04 sec)

  1. docs_src/request_forms_and_files/tutorial001_py39.py

    @app.post("/files/")
    async def create_file(
        file: bytes = File(), fileb: UploadFile = File(), token: str = Form()
    ):
        return {
            "file_size": len(file),
            "token": token,
            "fileb_content_type": fileb.content_type,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 317 bytes
    - Viewed (0)
  2. fastapi/datastructures.py

        ]
        filename: Annotated[Optional[str], Doc("The original file name.")]
        size: Annotated[Optional[int], Doc("The size of the file in bytes.")]
        headers: Annotated[Headers, Doc("The headers of the request.")]
        content_type: Annotated[
            Optional[str], Doc("The content type of the request, from the headers.")
        ]
    
        async def write(
            self,
            data: Annotated[
                bytes,
                Doc(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                try {
                    final String resourceName = params == null ? null : params.get(ExtractData.RESOURCE_NAME_KEY);
                    final String contentType = params == null ? null : params.get(ExtractData.CONTENT_TYPE);
                    String contentEncoding = params == null ? null : params.get(ExtractData.CONTENT_ENCODING);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 30.8K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/request-files.md

    ### `UploadFile` { #uploadfile }
    
    `UploadFile` tem os seguintes atributos:
    
    * `filename`: Uma `str` com o nome do arquivo original que foi enviado (por exemplo, `myimage.jpg`).
    * `content_type`: Uma `str` com o tipo de conteúdo (MIME type / media type) (por exemplo, `image/jpeg`).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/request-files.md

    ### `UploadFile` { #uploadfile }
    
    `UploadFile` tiene los siguientes atributos:
    
    * `filename`: Un `str` con el nombre original del archivo que fue subido (por ejemplo, `myimage.jpg`).
    * `content_type`: Un `str` con el tipo de contenido (MIME type / media type) (por ejemplo, `image/jpeg`).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            final Map<String, String> params = new HashMap<>(crawlingConfig.getConfigParameterMap(ConfigName.CONFIG));
            params.put(ExtractData.RESOURCE_NAME_KEY, getResourceName(responseData));
            params.put(ExtractData.CONTENT_TYPE, responseData.getMimeType());
            params.put(ExtractData.CONTENT_ENCODING, responseData.getCharSet());
            params.put(ExtractData.URL, responseData.getUrl());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. src/main/resources/fess_config.properties

    # Meta prefix for GSA queries.
    query.gsa.meta.prefix=MT_
    # Charset field for GSA index queries.
    query.gsa.index.field.charset=charset
    # Content type field for GSA index queries.
    query.gsa.index.field.content_type.=content_type
    # Maximum concurrent group results for collapse queries.
    query.collapse.max.concurrent.group.results=4
    # Inner hits name for collapse queries.
    query.collapse.inner.hits.name=similar_docs
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 54.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /** The key of the configuration. e.g. charset */
        String QUERY_GSA_INDEX_FIELD_CHARSET = "query.gsa.index.field.charset";
    
        /** The key of the configuration. e.g. content_type */
        String QUERY_GSA_INDEX_FIELD_content_type_ = "query.gsa.index.field.content_type.";
    
        /** The key of the configuration. e.g. 4 */
        String QUERY_COLLAPSE_MAX_CONCURRENT_GROUP_RESULTS = "query.collapse.max.concurrent.group.results";
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 525.7K bytes
    - Viewed (2)
  9. docs/en/docs/release-notes.md

    * 📝 Fix code consistency in examples for Tutorial - User Guide - Path Parameters. PR [#2158](https://github.com/tiangolo/fastapi/pull/2158) by [@nukopy](https://github.com/nukopy).
    * 📝 Fix renamed parameter `content_type` typo. PR [#2135](https://github.com/tiangolo/fastapi/pull/2135) by [@TeoZosa](https://github.com/TeoZosa).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top