Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1381 - 1390 of 1,922 for djson (0.02 seconds)

  1. docs/es/docs/advanced/additional-status-codes.md

    Cuando devuelves un `Response` directamente, como en el ejemplo anterior, se devuelve directamente.
    
    No se serializará con un modelo, etc.
    
    Asegúrate de que tenga los datos que deseas que tenga y que los valores sean JSON válidos (si estás usando `JSONResponse`).
    
    ///
    
    /// note | Detalles Técnicos
    
    También podrías usar `from starlette.responses import JSONResponse`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  2. docs/en/docs/project-generation.md

      - 🧪 [Playwright](https://playwright.dev) for End-to-End testing.
      - 🦇 Dark mode support.
    - 🐋 [Docker Compose](https://www.docker.com) for development and production.
    - 🔒 Secure password hashing by default.
    - 🔑 JWT (JSON Web Token) authentication.
    - 📫 Email based password recovery.
    - ✅ Tests with [Pytest](https://pytest.org).
    - 📞 [Traefik](https://traefik.io) as a reverse proxy / load balancer.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/metadata.md

    每個標籤中繼資料 dictionary 在清單中的順序,也會決定它們在文件介面中的顯示順序。
    
    例如,雖然按字母排序時 `users` 會排在 `items` 之後,但因為我們在清單中將它的中繼資料放在第一個,所以它會先顯示。
    
    ## OpenAPI URL { #openapi-url }
    
    預設情況下,OpenAPI 綱要(schema)會提供在 `/openapi.json`。
    
    但你可以用 `openapi_url` 參數來調整。
    
    例如,將它設定為提供在 `/api/v1/openapi.json`:
    
    {* ../../docs_src/metadata/tutorial002_py310.py hl[3] *}
    
    如果你想完全停用 OpenAPI 綱要,可以設定 `openapi_url=None`,同時也會停用依賴它的文件使用者介面。
    
    ## 文件 URL { #docs-urls }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/how-to/custom-request-and-route.md

    特別是,這可能是替代中介軟體(middleware)中實作邏輯的一個好方法。
    
    例如,如果你想在應用程式處理之前讀取或操作請求本文(request body)。
    
    /// danger
    
    這是進階功能。
    
    如果你剛開始使用 **FastAPI**,可以先跳過本節。
    
    ///
    
    ## 使用情境 { #use-cases }
    
    可能的使用情境包括:
    
    * 將非 JSON 的請求本文轉換為 JSON(例如 [`msgpack`](https://msgpack.org/index.html))。
    * 解壓縮以 gzip 壓縮的請求本文。
    * 自動記錄所有請求本文。
    
    ## 處理自訂請求本文編碼 { #handling-custom-request-body-encodings }
    
    讓我們看看如何使用自訂的 `Request` 子類別來解壓縮 gzip 請求。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/CleanAcceptedApiChanges.groovy

        @TaskAction
        void clean() {
            def jsonFileManager = new AcceptedApiChangesJsonFileManager()
            jsonFileDirectory.asFile.get().listFiles()
                ?.findAll { it.name.endsWith(".json") }
                ?.each { jsonFileManager.emptyAcceptedApiChanges(it) }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Jun 05 08:27:29 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  6. tests/test_datastructures.py

        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/uploadfile/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"filename": "test.txt"}
    
        assert testing_file_store
        assert testing_file_store[0].file.closed
    
    
    # For UploadFile coverage, segments copied from Starlette tests
    
    
    @pytest.mark.anyio
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

        server.enqueue(
          MockResponse(
            code = 401,
            body = "{\"error\":{\"message\":\"No auth credentials found\",\"code\":401}}",
            headers = Headers.headersOf("content-type", "application/json"),
          ),
        )
        server.enqueue(
          MockResponse(
            body =
              """
              |data: hey
              |
              |
              """.trimMargin(),
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/query-params.md

    Si vous ouvrez dans votre navigateur une URL comme :
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ... sans ajouter le paramètre requis `needy`, vous verrez une erreur comme :
    
    ```JSON
    {
      "detail": [
        {
          "type": "missing",
          "loc": [
            "query",
            "needy"
          ],
          "msg": "Field required",
          "input": null
        }
      ]
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  9. cmd/server-startup-msg.go

    	// Colorize the message and print.
    	logger.Startup(color.Blue("API: ") + color.Bold(fmt.Sprintf("%s ", apiEndpointStr)))
    	if color.IsTerminal() && (!globalServerCtxt.Anonymous && !globalServerCtxt.JSON && globalAPIConfig.permitRootAccess()) {
    		logger.Startup(color.Blue("   RootUser: ") + color.Bold("%s ", cred.AccessKey))
    		logger.Startup(color.Blue("   RootPass: ") + color.Bold("%s \n", cred.SecretKey))
    		if region != "" {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/admin/GeneralTests.java

    import java.util.Map;
    
    import org.codelibs.fess.it.CrudTestBase;
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.Tag;
    import org.junit.jupiter.api.Test;
    
    import io.restassured.path.json.JsonPath;
    
    @Tag("it")
    public class GeneralTests extends CrudTestBase {
    
        private static final String NAME_PREFIX = "generalTest_";
        private static final String API_PATH = "/api/admin/general";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.7K bytes
    - Click Count (0)
Back to Top