Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 128 for tutorial001_01_py39 (0.1 sec)

  1. docs_src/behind_a_proxy/tutorial001_01_py39.py

    Sebastián Ramírez <******@****.***> 1766004103 -0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 122 bytes
    - Viewed (0)
  2. docs_src/response_model/tutorial001_01_py39.py

    Yurii Karabas <******@****.***> 1673099148 +0200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 507 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_response_model/test_tutorial001_tutorial001_01.py

    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial001_py39"),
            pytest.param("tutorial001_py310", marks=needs_py310),
            pytest.param("tutorial001_01_py39"),
            pytest.param("tutorial001_01_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.response_model.{request.param}")
    
        client = TestClient(mod.app)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_behind_a_proxy/test_tutorial001_01.py

    from fastapi.testclient import TestClient
    
    from docs_src.behind_a_proxy.tutorial001_01_py39 import app
    
    client = TestClient(
        app,
        base_url="https://example.com",
        follow_redirects=False,
    )
    
    
    def test_redirect() -> None:
        response = client.get("/items")
        assert response.status_code == 307
        assert response.headers["location"] == "https://example.com/items/"
    
    
    def test_no_redirect() -> None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 544 bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/behind-a-proxy.md

    ```
    
    </div>
    
    ### Redirecionamentos com HTTPS { #redirects-with-https }
    
    Por exemplo, suponha que você defina uma *operação de rota* `/items/`:
    
    {* ../../docs_src/behind_a_proxy/tutorial001_01_py39.py hl[6] *}
    
    Se o cliente tentar ir para `/items`, por padrão, ele seria redirecionado para `/items/`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  6. docs/ru/docs/advanced/behind-a-proxy.md

    ```
    
    </div>
    
    ### Редиректы с HTTPS { #redirects-with-https }
    
    Например, вы объявили операцию пути `/items/`:
    
    {* ../../docs_src/behind_a_proxy/tutorial001_01_py39.py hl[6] *}
    
    Если клиент обратится к `/items`, по умолчанию произойдёт редирект на `/items/`.
    
    Но до установки опции `--forwarded-allow-ips` редирект может вести на `http://localhost:8000/items/`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/behind-a-proxy.md

    ```
    
    </div>
    
    ### Weiterleitungen mit HTTPS { #redirects-with-https }
    
    Angenommen, Sie definieren eine *Pfadoperation* `/items/`:
    
    {* ../../docs_src/behind_a_proxy/tutorial001_01_py39.py hl[6] *}
    
    Wenn der Client versucht, zu `/items` zu gehen, würde er standardmäßig zu `/items/` umgeleitet.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. docs/es/docs/advanced/behind-a-proxy.md

    ```
    
    </div>
    
    ### Redirecciones con HTTPS { #redirects-with-https }
    
    Por ejemplo, digamos que defines una *path operation* `/items/`:
    
    {* ../../docs_src/behind_a_proxy/tutorial001_01_py39.py hl[6] *}
    
    Si el cliente intenta ir a `/items`, por defecto, sería redirigido a `/items/`.
    
    Pero antes de configurar la *Opción de CLI* `--forwarded-allow-ips` podría redirigir a `http://localhost:8000/items/`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/behind-a-proxy.md

    ```
    
    </div>
    
    ### Redirects with HTTPS { #redirects-with-https }
    
    For example, let's say you define a *path operation* `/items/`:
    
    {* ../../docs_src/behind_a_proxy/tutorial001_01_py39.py hl[6] *}
    
    If the client tries to go to `/items`, by default, it would be redirected to `/items/`.
    
    But before setting the *CLI Option* `--forwarded-allow-ips` it could redirect to `http://localhost:8000/items/`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  10. pyproject.toml

        "docs_src/schema_extra_example/tutorial001_pv1_py310.py",
        "docs_src/schema_extra_example/tutorial001_pv1_py39.py",
        "docs_src/path_operation_advanced_configuration/tutorial007_pv1_py39.py",
        "docs_src/settings/app03_py39/config_pv1.py",
        "docs_src/settings/app03_an_py39/config_pv1.py",
        "docs_src/settings/tutorial001_pv1_py39.py",
    ]
    
    [tool.coverage.report]
    show_missing = true
    sort = "-Cover"
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top