- Sort Score
- Num 10 results
- Language All
Results 621 - 630 of 1,314 for orjson (0.04 seconds)
-
docs/uk/docs/advanced/strict-content-type.md
# Сувора перевірка Content-Type { #strict-content-type-checking } За замовчуванням **FastAPI** використовує сувору перевірку заголовка `Content-Type` для тіл запитів JSON, це означає, що запити JSON мають включати дійсний заголовок `Content-Type` (наприклад, `application/json`), щоб тіло було розібране як JSON. ## Ризик CSRF { #csrf-risk } Ця поведінка за замовчуванням забезпечує захист від класу атак **Cross-Site Request Forgery (CSRF)** у дуже конкретному сценарії.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:25:54 GMT 2026 - 5.5K bytes - Click Count (0) -
tests/test_strict_content_type_router_level.py
response = client.post("/lax/items/", json={"key": "value"}) assert response.status_code == 200 def test_strict_router_accepts_json_content_type(): response = client.post("/strict/items/", json={"key": "value"}) assert response.status_code == 200 def test_default_router_accepts_json_content_type(): response = client.post("/default/items/", json={"key": "value"})
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 1.7K bytes - Click Count (0) -
docs/uk/docs/how-to/conditional-openapi.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 3.9K bytes - Click Count (0) -
internal/s3select/json/args.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package json import ( "encoding/xml" "fmt" "strings" ) const ( document = "document" lines = "lines" defaultRecordDelimiter = "\n" ) // ReaderArgs - represents elements inside <InputSerialization><JSON/> in request XML. type ReaderArgs struct { ContentType string `xml:"Type"` unmarshaled bool }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2.7K bytes - Click Count (0) -
docs/ru/docs/tutorial/body-multiple-params.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 19:57:34 GMT 2026 - 8.2K bytes - Click Count (0) -
docs/en/docs/advanced/response-directly.md
Instead it takes the JSON bytes generated with Pydantic using the response model (or return type) and returns a `Response` with the right media type for JSON directly (`application/json`). ## Notes { #notes } When you return a `Response` directly its data is not validated, converted (serialized), or documented automatically.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
cmd/api-response.go
const ( // Means no response type. mimeNone mimeType = "" // Means response type is JSON. mimeJSON mimeType = "application/json" // Means response type is XML. mimeXML mimeType = "application/xml" ) // writeSuccessResponseJSON writes success headers and response if any, // with content-type set to `application/json`. func writeSuccessResponseJSON(w http.ResponseWriter, response []byte) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 35K bytes - Click Count (0) -
docs/de/docs/advanced/stream-data.md
# Daten streamen { #stream-data } Wenn Sie Daten streamen möchten, die als JSON strukturiert werden können, sollten Sie [JSON Lines streamen](../tutorial/stream-json-lines.md). Wenn Sie jedoch **reine Binärdaten** oder Strings streamen möchten, so können Sie es machen. /// info | Info Hinzugefügt in FastAPI 0.134.0. /// ## Anwendungsfälle { #use-cases }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:48:21 GMT 2026 - 6K bytes - Click Count (0) -
docs/pt/docs/tutorial/testing.md
Depois é só fazer o mesmo nos seus testes. Por exemplo: * Para passar um parâmetro *path* ou *query*, adicione-o à própria URL. * Para passar um corpo JSON, passe um objeto Python (por exemplo, um `dict`) para o parâmetro `json`. * Se você precisar enviar *Dados de Formulário* em vez de JSON, use o parâmetro `data`. * Para passar *headers*, use um `dict` no parâmetro `headers`. * Para *cookies*, um `dict` no parâmetro `cookies`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 6.1K bytes - Click Count (0) -
tests/test_get_model_definitions_formfeed_escape.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 14:34:02 GMT 2026 - 6K bytes - Click Count (0)