Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for session10 (0.05 sec)

  1. tests/test_tutorial/test_cookie_params/test_tutorial001.py

            ("/items", {"ads_id": "ads_track"}, 200, {"ads_id": "ads_track"}),
            (
                "/items",
                {"ads_id": "ads_track", "session": "cookiesession"},
                200,
                {"ads_id": "ads_track"},
            ),
            ("/items", {"session": "cookiesession"}, 200, {"ads_id": None}),
        ],
    )
    def test(path, cookies, expected_status, expected_response, mod: ModuleType):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. fastapi/exceptions.py

            websocket: WebSocket,
            session: Annotated[str | None, Cookie()] = None,
            item_id: str,
        ):
            if session is None:
                raise WebSocketException(code=status.WS_1008_POLICY_VIOLATION)
            await websocket.accept()
            while True:
                data = await websocket.receive_text()
                await websocket.send_text(f"Session cookie is: {session}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_cookie_param_models/test_tutorial002.py

                                    "name": "session_id",
                                    "in": "cookie",
                                    "required": True,
                                    "schema": {"type": "string", "title": "Session Id"},
                                },
                                {
                                    "name": "fatebook_tracker",
                                    "in": "cookie",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_cookie_param_models/test_tutorial001.py

                                    "name": "session_id",
                                    "in": "cookie",
                                    "required": True,
                                    "schema": {"type": "string", "title": "Session Id"},
                                },
                                {
                                    "name": "fatebook_tracker",
                                    "in": "cookie",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. .github/workflows/translate.yml

                pyproject.toml
          - name: Install Dependencies
            run: uv pip install -r requirements-github-actions.txt -r requirements-translations.txt
          # Allow debugging with tmate
          - name: Setup tmate session
            uses: mxschmitt/action-tmate@v3
            if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}
            with:
              limit-access-to-actor: true
            env:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:48:45 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. fastapi/routing.py

        func: Callable[[WebSocket], Awaitable[None]],
    ) -> ASGIApp:
        """
        Takes a coroutine `func(session)`, and returns an ASGI application.
        """
        # assert asyncio.iscoroutinefunction(func), "WebSocket endpoints must be async"
    
        async def app(scope: Scope, receive: Receive, send: Send) -> None:
            session = WebSocket(scope, receive=receive, send=send)
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  7. docs/de/docs/index.md

    * Viele zusätzliche Features (dank Starlette) wie:
        * **WebSockets**
        * extrem einfache Tests auf Basis von HTTPX und `pytest`
        * **CORS**
        * **Cookie-Sessions**
        * ... und mehr.
    
    ### Ihre App deployen (optional) { #deploy-your-app-optional }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 09:39:53 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  8. README.md

    * Many extra features (thanks to Starlette) as:
        * **WebSockets**
        * extremely easy tests based on HTTPX and `pytest`
        * **CORS**
        * **Cookie Sessions**
        * ...and more.
    
    ### Deploy your app (optional)
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 25 11:01:37 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top