Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 474 for Div (0.01 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        response.append(String.format("<h1>%s</h1>", basePath));
        for (String file : directory.list()) {
          response.append(String.format("<div class='file'><a href='%s'>%s</a></div>",
              basePath + file, file));
        }
        response.append("</body></html>");
    
        return new MockResponse()
            .setStatus("HTTP/1.1 200")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/async-tests.md

    {* ../../docs_src/async_tests/app_a_py310/test_main.py *}
    
    ## Run it { #run-it }
    
    You can run your tests as usual via:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ---> 100%
    ```
    
    </div>
    
    ## In Detail { #in-detail }
    
    The marker `@pytest.mark.anyio` tells pytest that this test function should be called asynchronously:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/testing.md

    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    </div>
    
    It will detect the files and tests automatically, execute them, and report the results back to you.
    
    Run the tests with:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/how-to/conditional-openapi.md

    接著在建立 `FastAPI` 應用時使用它。
    
    然後你可以將環境變數 `OPENAPI_URL` 設為空字串,以停用 OpenAPI(包含文件 UI),如下:
    
    <div class="termy">
    
    ```console
    $ OPENAPI_URL= uvicorn main:app
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    之後若你造訪 `/openapi.json`、`/docs` 或 `/redoc`,會看到如下的 `404 Not Found` 錯誤:
    
    ```JSON
    {
        "detail": "Not Found"
    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/advanced/json-base64-bytes.md

    {* ../../docs_src/json_base64_bytes/tutorial001_py310.py ln[1:9,29:35] hl[9] *}
    
    如果你查看 `/docs`,會看到欄位 `data` 需要 base64 編碼的位元組:
    
    <div class="screenshot">
    <img src="/img/tutorial/json-base64-bytes/image01.png">
    </div>
    
    你可以發送如下的請求:
    
    ```json
    {
        "description": "Some data",
        "data": "aGVsbG8="
    }
    ```
    
    /// tip
    
    `aGVsbG8=` 是 `hello` 的 base64 編碼。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  6. docs/zh/docs/tutorial/index.md

    ```
    
    </div>
    
    **强烈建议**您在本地编写或复制代码,对其进行编辑并运行。
    
    在编辑器中使用 FastAPI 会真正地展现出它的优势:只需要编写很少的代码,所有的类型检查,代码补全等等。
    
    ---
    
    ## 安装 FastAPI { #install-fastapi }
    
    第一个步骤是安装 FastAPI.
    
    请确保您创建并激活一个[虚拟环境](../virtual-environments.md),然后**安装 FastAPI**:
    
    <div class="termy">
    
    ```console
    $ pip install "fastapi[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    /// note | 注意
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/cookie-param-models.md

    ## Check the Docs { #check-the-docs }
    
    You can see the defined cookies in the docs UI at `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/cookie-param-models/image01.png">
    </div>
    
    /// info
    
    Have in mind that, as **browsers handle cookies** in special ways and behind the scenes, they **don't** easily allow **JavaScript** to touch them.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 11:48:27 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  8. docs/ja/docs/deployment/server-workers.md

         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Application startup complete.
    ```
    
    </div>
    
    ////
    
    //// tab | `uvicorn`
    
    `uvicorn` コマンドを直接使いたい場合:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --host 0.0.0.0 --port 8080 --workers 4
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/cookie-param-models.md

    **FastAPI** 将从请求中接收到的 **cookie** 中**提取**出**每个字段**的数据,并提供您定义的 Pydantic 模型。
    
    ## 查看文档 { #check-the-docs }
    
    您可以在文档 UI 的 `/docs` 中查看定义的 cookie:
    
    <div class="screenshot">
    <img src="/img/tutorial/cookie-param-models/image01.png">
    </div>
    
    /// info | 信息
    
    请记住,由于**浏览器**以特殊方式**处理 cookie**,并在后台进行操作,因此它们**不会**轻易允许 **JavaScript** 访问这些 cookie。
    
    如果您访问 `/docs` 的 **API 文档 UI**,您将能够查看您*路径操作*的 cookie **文档**。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 3K bytes
    - Click Count (0)
  10. src/main/webapp/css/admin/respond.min.js

     *  */
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Oct 08 12:14:13 GMT 2015
    - 4.3K bytes
    - Click Count (0)
Back to Top