- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 592 for render (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/fr/docs/advanced/custom-response.md
Disons que vous voulez renvoyer du JSON indenté et formaté, donc vous voulez utiliser l'option orjson `orjson.OPT_INDENT_2`. Vous pourriez créer une `CustomORJSONResponse`. L'essentiel est de créer une méthode `Response.render(content)` qui renvoie le contenu en `bytes` : {* ../../docs_src/custom_response/tutorial009c_py310.py hl[9:14,17] *} Maintenant, au lieu de renvoyer : ```json {"message": "Hello World"} ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 12.3K bytes - Click Count (0) -
docs/es/docs/advanced/custom-response.md
* `headers` - Un `dict` de strings. * `media_type` - Un `str` que da el media type. Por ejemplo, `"text/html"`. FastAPI (de hecho Starlette) incluirá automáticamente un header Content-Length. También incluirá un header Content-Type, basado en el `media_type` y añadiendo un conjunto de caracteres para tipos de texto. {* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *}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) -
cmd/admin-handlers-users.go
defer zipWriter.Close() rawDataFn := func(r io.Reader, filename string, sz int) error { header, zerr := zip.FileInfoHeader(dummyFileInfo{ name: filename, size: int64(sz), mode: 0o600, modTime: time.Now(), isDir: false, sys: nil, }) if zerr != nil { adminLogIf(ctx, zerr) return nil } header.Method = zip.Deflate
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 90.6K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/custom-response.md
你可以建立自己的自訂回應類別,繼承自 `Response` 並加以使用。 例如,假設你要使用 [`orjson`](https://github.com/ijl/orjson) 並套用一些設定。 假設你想回傳縮排且格式化的 JSON,因此要使用 orjson 選項 `orjson.OPT_INDENT_2`。 你可以建立 `CustomORJSONResponse`。你主要需要做的是建立一個 `Response.render(content)` 方法,將內容以 `bytes` 回傳: {* ../../docs_src/custom_response/tutorial009c_py310.py hl[9:14,17] *} 現在,不再是回傳: ```json {"message": "Hello World"} ``` ...這個回應會回傳: ```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) -
src/test/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistActionTest.java
/* * Copyright 2012-2025 CodeLibs Project and the Others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:38:39 GMT 2026 - 34.4K bytes - Click Count (0) -
scripts/docs.py
""" Add or update header permalinks in specific pages of En docs. """ for md_file in pages: add_permalinks_page(md_file, update_existing=update_existing) @app.command() def add_permalinks(update_existing: bool = False) -> None: """ Add or update header permalinks in all pages of En docs. """Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 17:46:10 GMT 2026 - 25.4K bytes - Click Count (0) -
okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat
rhcloud.com // Redgate Software: https://red-gate.com // Submitted by Andrew Farries <******@****.***> instances.spawn.cc // Render : https://render.com // Submitted by Anurag Goel <dev@render.com> onrender.com app.render.com // Repl.it : https://repl.it // Submitted by Lincoln Bergeson <******@****.***> replit.app id.replit.app firewalledreplit.co
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 309.7K bytes - Click Count (1) -
internal/s3select/csv/reader.go
csv "github.com/minio/csvparser" "github.com/minio/minio/internal/bpool" "github.com/minio/minio/internal/s3select/sql" ) // Reader - CSV record reader for S3Select. type Reader struct { args *ReaderArgs readCloser io.ReadCloser // raw input buf *bufio.Reader // input to the splitter columnNames []string // names of columns
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 8.8K bytes - Click Count (0) -
src/archive/tar/reader.go
"strconv" "strings" "time" ) // Reader provides sequential access to the contents of a tar archive. // Reader.Next advances to the next file in the archive (including the first), // and then Reader can be treated as an io.Reader to access the file's data. type Reader struct { r io.Reader pad int64 // Amount of padding (ignored) after current file entry curr fileReader // Reader for current file entry
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 26.9K bytes - Click Count (0) -
src/bytes/reader.go
import ( "errors" "io" "unicode/utf8" ) // A Reader implements the [io.Reader], [io.ReaderAt], [io.WriterTo], [io.Seeker], // [io.ByteScanner], and [io.RuneScanner] interfaces by reading from // a byte slice. // Unlike a [Buffer], a Reader is read-only and supports seeking. // The zero value for Reader operates like a Reader of an empty slice. type Reader struct { s []byte i int64 // current reading index
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jul 16 18:17:37 GMT 2024 - 3.9K bytes - Click Count (0)