- Sort Score
- Num 10 results
- Language All
Results 771 - 780 of 1,722 for ujson (0.03 seconds)
-
tests/test_default_response_class.py
text_type = "text/plain; charset=utf-8" html_type = "text/html; charset=utf-8" override_type = "application/x-override" def test_app(): with client: response = client.get("/") assert response.json() == {"msg": "Hello World"} assert response.headers["content-type"] == orjson_type def test_app_override(): with client: response = client.get("/override")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Mar 01 20:49:20 GMT 2020 - 5.2K bytes - Click Count (0) -
tests/test_tutorial/test_security/test_tutorial002.py
assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer" def test_token(client: TestClient): response = client.get("/users/me", headers={"Authorization": "Bearer testtoken"}) assert response.status_code == 200, response.text assert response.json() == { "username": "testtokenfakedecoded",Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 2.2K bytes - Click Count (0) -
docs/ru/docs/tutorial/security/simple-oauth2.md
В следующей главе вы увидите реальную защищённую реализацию с хешированием паролей и токенами <abbr title="JSON Web Tokens – JSON веб-токены">JWT</abbr>. Но пока давайте сосредоточимся на необходимых нам деталях. /// {* ../../docs_src/security/tutorial003_an_py310.py hl[87] *} /// tip | Подсказка Согласно спецификации, вы должны возвращать JSON с `access_token` и `token_type`, как в данном примере.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:24:39 GMT 2025 - 16.3K 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 Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2.7K bytes - Click Count (0) -
docs/es/docs/advanced/path-operation-advanced-configuration.md
Y podrías hacer esto incluso si el tipo de datos en el request no es JSON. Por ejemplo, en esta aplicación no usamos la funcionalidad integrada de FastAPI para extraer el JSON Schema de los modelos Pydantic ni la validación automática para JSON. De hecho, estamos declarando el tipo de contenido del request como YAML, no JSON: //// tab | Pydantic v2
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 8.3K bytes - Click Count (0) -
docs/pt/docs/advanced/path-operation-advanced-configuration.md
E você pode fazer isso até mesmo quando os dados da requisição não seguem o formato JSON.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 8.7K bytes - Click Count (0) -
tests/test_empty_router.py
with client: response = client.get("/prefix") assert response.status_code == 200, response.text assert response.json() == ["OK"] response = client.get("/prefix/") assert response.status_code == 200, response.text assert response.json() == ["OK"] def test_include_empty(): # if both include and router.path are empty - it should raise exceptionCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Jun 11 22:37:34 GMT 2023 - 805 bytes - Click Count (1) -
src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java
/** * Retrieves web configuration settings with pagination. * * @param body the search parameters for filtering and pagination * @return JSON response containing web configuration settings list */ // GET /api/admin/webconfig/settings // PUT /api/admin/webconfig/settings @Execute public JsonResponse<ApiResult> settings(final SearchBody body) {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 8.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/ApiAdminDataconfigAction.java
/** * Retrieves data config settings with pagination support. * * @param body the search body containing pagination and filter parameters * @return JSON response containing list of data config settings */ // GET /api/admin/dataconfig/settings // PUT /api/admin/dataconfig/settings @Execute public JsonResponse<ApiResult> settings(final SearchBody body) {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 8.5K 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 Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 35K bytes - Click Count (0)