Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 85 for MEDIA (0.02 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

      /**
       * Returns a specific media subtype, such as "plain" or "png", "mpeg", "mp4" or "xml".
       */
      @get:JvmName("subtype") val subtype: String,
      /** Alternating parameter names with their values, like `["charset", "utf-8"]`. */
      private val parameterNamesAndValues: Array<String>,
    ) {
      /**
       * Returns the charset of this media type, or [defaultValue] if either this media type doesn't
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/net/MediaType.java

     * (also known as a MIME Type or Content Type). This class also supports the concept of media ranges
     * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1">defined by HTTP/1.1</a>.
     * As such, the {@code *} character is treated as a wildcard and is used to represent any acceptable
     * type or subtype value. A media type may not have wildcard type with a declared subtype. The
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/additional-responses.md

            }
        }
    }
    ```
    
    ## Additional media types for the main response { #additional-media-types-for-the-main-response }
    
    You can use this same `responses` parameter to add different media types for the same main response.
    
    For example, you can add an additional media type of `image/png`, declaring that your *path operation* can return a JSON object (with media type `application/json`) or a PNG image:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

                }
                return new ByteArrayOutputStream();
            }
        }
    
        /**
         * Creates an OutputStream from a ToXContent object with the specified media type.
         *
         * @param xContent the content object to convert
         * @param mediaType the media type for the output
         * @return an OutputStream containing the converted content
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/custom-response.md

    * `path` - The file path to the file to stream.
    * `headers` - Any custom headers to include, as a dictionary.
    * `media_type` - A string giving the media type. If unset, the filename or path will be used to infer a media type.
    * `filename` - If set, this will be included in the response `Content-Disposition`.
    
    File responses will include appropriate `Content-Length`, `Last-Modified` and `ETag` headers.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/custom-response.md

    但如果你直接回傳一個 `Response`(或其子類別,例如 `JSONResponse`),資料將不會被自動轉換(即使你宣告了 `response_model`),而且文件也不會自動產生(例如,在產生的 OpenAPI 中包含 HTTP 標頭 `Content-Type` 的特定「media type」)。
    
    你也可以在「路徑操作裝飾器」中使用 `response_class` 參數,宣告要使用的 `Response`(例如任意 `Response` 子類別)。
    
    你從「路徑操作函式」回傳的內容,會被放進該 `Response` 中。
    
    /// note
    
    若你使用的回應類別沒有 media type,FastAPI 會假設你的回應沒有內容,因此不會在產生的 OpenAPI 文件中記錄回應格式。
    
    ///
    
    ## JSON 回應 { #json-responses }
    
    FastAPI 預設回傳 JSON 回應。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  7. docs/en/mkdocs.yml

    theme:
      name: material
      custom_dir: ../en/overrides
      palette:
      - media: (prefers-color-scheme)
        toggle:
          icon: material/lightbulb-auto
          name: Switch to light mode
      - media: '(prefers-color-scheme: light)'
        scheme: default
        primary: teal
        accent: amber
        toggle:
          icon: material/lightbulb
          name: Switch to dark mode
      - media: '(prefers-color-scheme: dark)'
        scheme: slate
        primary: teal
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  8. docs/pt/llm-prompt.md

    * JSON Schema: JSON Schema
    * library: biblioteca
    * lifespan: lifespan (do not translate to "vida útil")
    * list (as in Python list): list
    * Machine Learning: Aprendizado de Máquina
    * media type: media type (do not translate to "tipo de mídia")
    * non-Annotated: non-Annotated (do not translate non-Annotated when it comes after a Python version.e.g., “Python 3.10+ non-Annotated”)
    * operation IDs: IDs de operação
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 16 12:27:02 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  9. docs/es/llm-prompt.md

    * code base: code base (do not translate to "base de código")
    * default: por defecto (do not translate to "predeterminado")
    * default values: valores por defecto (do not translate to "valores predeterminados")
    * media type: media type (do not translate to "tipo de medio")
    * instantiate: crear un instance (do not translate to "instanciar")
    * OAuth2 Scopes: Scopes de OAuth2 (do not translate to "Alcances de OAuth2")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/request-files.md

    ### `UploadFile` { #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`).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7K bytes
    - Click Count (0)
Back to Top