Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 322 (0.3 sec)

  1. internal/mountinfo/mountinfo_linux_test.go

    // and success cases.
    func TestCrossDeviceMountPaths(t *testing.T) {
    	successCase := `/dev/0 /path/to/0/1 type0 flags 0 0
    		/dev/1    /path/to/1   type1	flags 1 1
    		/dev/2 /path/to/1/2 type2 flags,1,2=3 2 2
                    /dev/3 /path/to/1.1 type3 flags,1,2=3 3 3
    		`
    	var err error
    	dir := t.TempDir()
    	mountsPath := filepath.Join(dir, "mounts")
    	if err = os.WriteFile(mountsPath, []byte(successCase), 0o666); err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/wsgi.md

    为此, 您可以使用 `WSGIMiddleware` 来包装你的 WSGI 应用,如:Flask,Django,等等。
    
    ## 使用 `WSGIMiddleware`
    
    您需要导入 `WSGIMiddleware`。
    
    然后使用该中间件包装 WSGI 应用(例如 Flask)。
    
    之后将其挂载到某一个路径下。
    
    ```Python hl_lines="2-3  22"
    {!../../../docs_src/wsgi/tutorial001.py!}
    ```
    
    ## 检查
    
    现在,所有定义在 `/v1/` 路径下的请求将会被 Flask 应用处理。
    
    其余的请求则会被 **FastAPI** 处理。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/wsgi.md

    👈, 👆 💪 ⚙️ `WSGIMiddleware` & ⚙️ ⚫️ 🎁 👆 🇨🇻 🈸, 🖼, 🏺, ✳, ♒️.
    
    ## ⚙️ `WSGIMiddleware`
    
    👆 💪 🗄 `WSGIMiddleware`.
    
    ⤴️ 🎁 🇨🇻 (✅ 🏺) 📱 ⏮️ 🛠️.
    
    & ⤴️ 🗻 👈 🔽 ➡.
    
    ```Python hl_lines="2-3  22"
    {!../../../docs_src/wsgi/tutorial001.py!}
    ```
    
    ## ✅ ⚫️
    
    🔜, 🔠 📨 🔽 ➡ `/v1/` 🔜 🍵 🏺 🈸.
    
    & 🎂 🔜 🍵 **FastAPI**.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  4. docs/contribute/debug_logging.md

    [2020-01-01 00:00:00] << 0x00000000     0 SETTINGS      ACK
    [2020-01-01 00:00:00] << 0x00000000     4 WINDOW_UPDATE
    [2020-01-01 00:00:00] >> 0x00000000     0 SETTINGS      ACK
    [2020-01-01 00:00:00] << 0x00000003   322 HEADERS       END_HEADERS
    [2020-01-01 00:00:00] << 0x00000003   288 DATA
    [2020-01-01 00:00:00] << 0x00000003     0 DATA          END_STREAM
    [2020-01-01 00:00:00] << 0x00000000     8 GOAWAY
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 2.7K bytes
    - Viewed (0)
Back to top