Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for root_path (0.06 sec)

  1. docs/es/docs/advanced/behind-a-proxy.md

    Si usas Hypercorn, también tiene la opción `--root-path`.
    
    /// note | Detalles Técnicos
    
    La especificación ASGI define un `root_path` para este caso de uso.
    
    Y la opción de línea de comandos `--root-path` proporciona ese `root_path`.
    
    ///
    
    ### Revisar el `root_path` actual
    
    Puedes obtener el `root_path` actual utilizado por tu aplicación para cada request, es parte del diccionario `scope` (que es parte de la especificación ASGI).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/behind-a-proxy.md

    ```JSON
    {
        "message": "Hello World",
        "root_path": "/api/v1"
    }
    ```
    
    ### ⚒ `root_path` FastAPI 📱
    
    👐, 🚥 👆 🚫 ✔️ 🌌 🚚 📋 ⏸ 🎛 💖 `--root-path` ⚖️ 🌓, 👆 💪 ⚒ `root_path` 🔢 🕐❔ 🏗 👆 FastAPI 📱:
    
    {* ../../docs_src/behind_a_proxy/tutorial002.py hl[3] *}
    
    🚶‍♀️ `root_path` `FastAPI` 🔜 🌓 🚶‍♀️ `--root-path` 📋 ⏸ 🎛 Uvicorn ⚖️ Hypercorn.
    
    ### 🔃 `root_path`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/behind-a-proxy.md

    Se você usar Hypercorn, ele também tem a opção `--root-path`.
    
    /// note | Detalhes Técnicos
    
    A especificação ASGI define um `root_path` para esse caso de uso.
    
    E a opção de linha de comando `--root-path` fornece esse `root_path`.
    
    ///
    
    ### Verificando o `root_path` atual
    
    Você pode obter o `root_path` atual usado pela sua aplicação para cada solicitação, ele faz parte do dicionário `scope` (que faz parte da especificação ASGI).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/behind-a-proxy.md

    /// note | Technical Details
    
    The ASGI specification defines a `root_path` for this use case.
    
    And the `--root-path` command line option provides that `root_path`.
    
    ///
    
    ### Checking the current `root_path` { #checking-the-current-root-path }
    
    You can get the current `root_path` used by your application for each request, it is part of the `scope` dictionary (that's part of the ASGI spec).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/behind-a-proxy.md

    ```JSON
    {
        "message": "Hello World",
        "root_path": "/api/v1"
    }
    ```
    
    ### 在 FastAPI 应用里设置 `root_path`
    
    还有一种方案,如果不能提供 `--root-path` 或等效的命令行选项,则在创建 FastAPI 应用时要设置 `root_path` 参数。
    
    {* ../../docs_src/behind_a_proxy/tutorial002.py hl[3] *}
    
    传递 `root_path` 给 `FastAPI` 与传递 `--root-path` 命令行选项给 Uvicorn 或 Hypercorn 一样。
    
    ### 关于 `root_path`
    
    注意,服务器(Uvicorn)只是把 `root_path` 传递给应用。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/behind-a-proxy.md

    /// note | Technische Details
    
    Die ASGI-Spezifikation definiert einen `root_path` für diesen Anwendungsfall.
    
    Und die Kommandozeilenoption `--root-path` stellt diesen `root_path` bereit.
    
    ///
    
    ### Überprüfen des aktuellen `root_path`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. cmd/format-erasure_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if err = os.MkdirAll(pathJoin(rootPath, minioMetaBucket), os.FileMode(0o755)); err != nil {
    		t.Fatal(err)
    	}
    
    	if err = os.WriteFile(pathJoin(rootPath, minioMetaBucket, formatConfigFile), b, os.FileMode(0o644)); err != nil {
    		t.Fatal(err)
    	}
    
    	formatData, _, err := formatErasureMigrate(rootPath)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. configure.py

        write_action_env_to_bazelrc('LD_LIBRARY_PATH',
                                    environ_cp.get('LD_LIBRARY_PATH'))
    
      if (environ_cp.get('TF_NEED_ROCM') == '1' and environ_cp.get('ROCM_PATH')):
        write_action_env_to_bazelrc('ROCM_PATH', environ_cp.get('ROCM_PATH'))
    
      if (environ_cp.get('TF_NEED_ROCM') == '1' and environ_cp.get('HIP_PLATFORM')):
        write_action_env_to_bazelrc('HIP_PLATFORM', environ_cp.get('HIP_PLATFORM'))
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Apr 30 15:18:54 UTC 2025
    - 48.3K bytes
    - Viewed (0)
  9. cmd/generic-handlers.go

    func guessIsRPCReq(req *http.Request) bool {
    	if req == nil {
    		return false
    	}
    	if req.Method == http.MethodGet && req.URL != nil {
    		switch req.URL.Path {
    		case grid.RoutePath, grid.RouteLockPath:
    			return true
    		}
    	}
    
    	return (req.Method == http.MethodPost || req.Method == http.MethodGet) &&
    		strings.HasPrefix(req.URL.Path, minioReservedBucketPath+SlashSeparator)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
Back to top