- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 20 for disposition (0.08 seconds)
-
docs/en/docs/advanced/custom-response.md
* `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. {* ../../docs_src/custom_response/tutorial009_py310.py hl[2,10] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt
Header("access-control-allow-origin", ""), Header("age", ""), Header("allow", ""), Header("authorization", ""), Header("cache-control", ""), Header("content-disposition", ""), Header("content-encoding", ""), Header("content-language", ""), Header("content-length", ""), Header("content-location", ""), Header("content-range", ""),
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 23.2K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/custom-response.md
以非同步串流方式將檔案作為回應。 它在初始化時所需的參數與其他回應型別不同: - `path` - 要串流的檔案路徑。 - `headers` - 要包含的自訂標頭,字典形式。 - `media_type` - 描述 media type 的字串。若未設定,將根據檔名或路徑推斷 media type。 - `filename` - 若設定,會包含在回應的 `Content-Disposition` 中。 檔案回應會包含適當的 `Content-Length`、`Last-Modified` 與 `ETag` 標頭。 {* ../../docs_src/custom_response/tutorial009_py310.py hl[2,10] *} 你也可以使用 `response_class` 參數: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) -
docs/recipes.md
=== ":material-language-kotlin: Kotlin" ```kotlin private val client = OkHttpClient() fun run() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 47.8K bytes - Click Count (0) -
docs/fr/docs/advanced/response-cookies.md
Et comme `Response` peut être utilisé fréquemment pour définir des en-têtes et des cookies, **FastAPI** la met également à disposition via `fastapi.Response`. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 2.5K bytes - Click Count (0) -
docs/tr/docs/advanced/custom-response.md
* `headers` - Eklenecek özel header’lar; dictionary olarak. * `media_type` - Media type’ı veren string. Ayarlanmazsa, dosya adı veya path kullanılarak media type tahmin edilir. * `filename` - Ayarlanırsa response içindeki `Content-Disposition`’a dahil edilir. File response'ları uygun `Content-Length`, `Last-Modified` ve `ETag` header’larını içerir. {* ../../docs_src/custom_response/tutorial009_py310.py hl[2,10] *}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 11.9K bytes - Click Count (0) -
docs/es/docs/advanced/custom-response.md
* `media_type` - Un string que da el media type. Si no se establece, se usará el nombre de archivo o la path para inferir un media type. * `filename` - Si se establece, se incluirá en el response `Content-Disposition`. Los responses de archivos incluirán los headers apropiados `Content-Length`, `Last-Modified` y `ETag`. {* ../../docs_src/custom_response/tutorial009_py310.py hl[2,10] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 11.6K bytes - Click Count (0) -
docs/de/docs/advanced/custom-response.md
* `media_type` – Ein String, der den Medientyp angibt. Wenn nicht gesetzt, wird der Dateiname oder Pfad verwendet, um auf einen Medientyp zu schließen. * `filename` – Wenn gesetzt, wird das in der `Content-Disposition` der Response eingefügt. Datei-Responses enthalten die entsprechenden `Content-Length`-, `Last-Modified`- und `ETag`-Header. {* ../../docs_src/custom_response/tutorial009_py310.py hl[2,10] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 12.5K bytes - Click Count (0) -
docs/ko/docs/advanced/custom-response.md
다른 응답 유형과는 다른 인수를 사용하여 객체를 생성합니다: * `path` - 스트리밍할 파일의 경로. * `headers` - 딕셔너리 형식의 사용자 정의 헤더. * `media_type` - 미디어 타입을 나타내는 문자열. 설정되지 않은 경우 파일 이름이나 경로를 사용하여 추론합니다. * `filename` - 설정된 경우 응답의 `Content-Disposition`에 포함됩니다. 파일 응답에는 적절한 `Content-Length`, `Last-Modified`, 및 `ETag` 헤더가 포함됩니다. {* ../../docs_src/custom_response/tutorial009_py310.py hl[2,10] *} 또한 `response_class` 매개변수를 사용할 수도 있습니다:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 12.4K bytes - Click Count (0) -
docs/zh/docs/advanced/custom-response.md
异步传输文件作为响应。 与其他响应类型相比,接受不同的参数集进行实例化: * `path` - 要流式传输的文件的文件路径。 * `headers` - 任何自定义响应头,传入字典类型。 * `media_type` - 给出媒体类型的字符串。如果未设置,则文件名或路径将用于推断媒体类型。 * `filename` - 如果给出,它将包含在响应的 `Content-Disposition` 中。 文件响应将包含适当的 `Content-Length`、`Last-Modified` 和 `ETag` 响应头。 {* ../../docs_src/custom_response/tutorial009_py310.py hl[2,10] *} 你也可以使用 `response_class` 参数:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 10.4K bytes - Click Count (0)