Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for CONTENT_TYPE (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/FormBody.kt

      fun encodedValue(index: Int): String = encodedValues[index]
    
      fun value(index: Int): String = encodedValue(index).percentDecode(plusIsSpace = true)
    
      override fun contentType(): MediaType = CONTENT_TYPE
    
      override fun contentLength(): Long = writeOrCountBytes(null, true)
    
      @Throws(IOException::class)
      override fun writeTo(sink: BufferedSink) {
        writeOrCountBytes(sink, false)
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. docs/en/docs/reference/uploadfile.md

    ```python
    from fastapi import UploadFile
    ```
    
    ::: fastapi.UploadFile
        options:
            members:
                - file
                - filename
                - size
                - headers
                - content_type
                - read
                - write
                - seek
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 472 bytes
    - Viewed (0)
  3. 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/request-files.md

    ### `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 (tipo MIME / tipo de mídia) (por exemplo, `image/jpeg`).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 19:52:32 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/request-files.md

    ### `UploadFile`
    
    `UploadFile` has the following attributes:
    
    * `filename`: A `str` with the original file name that was uploaded (e.g. `myimage.jpg`).
    * `content_type`: A `str` with the content type (MIME type / media type) (e.g. `image/jpeg`).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/request-files.md

    ### `UploadFile`
    
    `UploadFile` ✔️ 📄 🔢:
    
    * `filename`: `str` ⏮️ ⏮️ 📁 📛 👈 📂 (✅ `myimage.jpg`).
    * `content_type`: `str` ⏮️ 🎚 🆎 (📁 🆎 / 📻 🆎) (✅ `image/jpeg`).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/request-files.md

    ### `UploadFile`
    
    `UploadFile` 的属性如下:
    
    * `filename`:上传文件名字符串(`str`),例如, `myimage.jpg`;
    * `content_type`:内容类型(MIME 类型 / 媒体类型)字符串(`str`),例如,`image/jpeg`;
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/request-files.md

    ### `UploadFile`
    
    `UploadFile` hat die folgenden Attribute:
    
    * `filename`: Ein `str` mit dem ursprünglichen Namen der hochgeladenen Datei (z. B. `meinbild.jpg`).
    * `content_type`: Ein `str` mit dem Inhaltstyp (MIME-Typ / Medientyp) (z. B. `image/jpeg`).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/request-files.md

    ### `UploadFile`
    
    `UploadFile` имеет следующие атрибуты:
    
    * `filename`: Строка `str` с исходным именем файла, который был загружен (например, `myimage.jpg`).
    * `content_type`: Строка `str` с типом содержимого (MIME type / media type) (например, `image/jpeg`).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. docs/ja/docs/advanced/custom-response.md

    /// tip | "豆知識"
    
    `ORJSONResponse` は、現在はFastAPIのみで利用可能で、Starletteでは利用できません。
    
    ///
    
    ## HTMLレスポンス
    
    **FastAPI** からHTMLを直接返す場合は、`HTMLResponse` を使います。
    
    * `HTMLResponse` をインポートする。
    * *path operation* のパラメータ `content_type` に `HTMLResponse` を渡す。
    
    ```Python hl_lines="2  7"
    {!../../docs_src/custom_response/tutorial002.py!}
    ```
    
    /// info | "情報"
    
    パラメータ `response_class` は、レスポンスの「メディアタイプ」を定義するために利用されます。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top