Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Middleware (0.03 sec)

  1. tests/test_dependency_contextmanager.py

            state["sync_bg"] = (
                f"sync_bg set - b: {state['context_b']} - a: {state['context_a']}"
            )
    
        tasks.add_task(bg, state)
        return state
    
    
    @app.middleware("http")
    async def middleware(request, call_next):
        response: StreamingResponse = await call_next(request)
        response.headers["x-state"] = json.dumps(state.copy())
        return response
    
    
    client = TestClient(app)
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. docs/ru/docs/_llm-test.md

    * код
    * коммит
    * менеджер контекста
    * корутина
    * сессия базы данных
    * диск
    * домен
    * движок
    * фиктивный X
    * метод HTTP GET
    * элемент
    * библиотека
    * lifespan
    * блокировка
    * middleware (Промежуточный слой)
    * мобильное приложение
    * модуль
    * монтирование
    * сеть
    * origin (источник)
    * переопределение
    * полезная нагрузка
    * процессор
    * свойство
    * прокси
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. docs/de/docs/_llm-test.md

    * die Coroutine
    * die Datenbanksession
    * die Festplatte
    * die Domain
    * die Engine
    * das Fake-X
    * die HTTP-GET-Methode
    * das Item
    * die Bibliothek
    * der Lifespan
    * der Lock
    * die Middleware
    * die Mobile-Anwendung
    * das Modul
    * das Mounten
    * das Netzwerk
    * das Origin
    * Die Überschreibung
    * die Payload
    * der Prozessor
    * die Property
    * der Proxy
    * der Pull Request
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 07:17:04 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. docs/pt/docs/_llm-test.md

    * a corrotina
    * a sessão do banco de dados
    * o disco
    * o domínio
    * o mecanismo
    * o X falso
    * o método HTTP GET
    * o item
    * a biblioteca
    * o lifespan
    * o bloqueio
    * o middleware
    * a aplicação mobile
    * o módulo
    * a montagem
    * a rede
    * a origem
    * a sobrescrita
    * a carga útil
    * o processador
    * a propriedade
    * o proxy
    * o pull request
    * a consulta
    * a RAM
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:17:03 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. docs/en/docs/_llm-test.md

    * the coroutine
    * the database session
    * the disk
    * the domain
    * the engine
    * the fake X
    * the HTTP GET method
    * the item
    * the library
    * the lifespan
    * the lock
    * the middleware
    * the mobile application
    * the module
    * the mounting
    * the network
    * the origin
    * the override
    * the payload
    * the processor
    * the property
    * the proxy
    * the pull request
    * the query
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 14:48:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. docs/es/docs/_llm-test.md

    * la corrutina
    * la sesión de base de datos
    * el disco
    * el dominio
    * el motor
    * el X falso
    * el método HTTP GET
    * el ítem
    * el paquete
    * el lifespan
    * el bloqueo
    * el middleware
    * la aplicación móvil
    * el módulo
    * el montaje
    * la red
    * el origen
    * el override
    * el payload
    * el procesador
    * la propiedad
    * el proxy
    * el pull request
    * la query
    * la RAM
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:16:35 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/behind-a-proxy.md

    ```TOML hl_lines="5  12  20"
    [http]
      [http.middlewares]
    
        [http.middlewares.api-stripprefix.stripPrefix]
          prefixes = ["/api/v1"]
    
      [http.routers]
    
        [http.routers.app-http]
          entryPoints = ["http"]
          service = "app"
          rule = "PathPrefix(`/api/v1`)"
          middlewares = ["api-stripprefix"]
    
      [http.services]
    
        [http.services.app]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. docs/ru/docs/advanced/behind-a-proxy.md

    ```TOML hl_lines="5  12  20"
    [http]
      [http.middlewares]
    
        [http.middlewares.api-stripprefix.stripPrefix]
          prefixes = ["/api/v1"]
    
      [http.routers]
    
        [http.routers.app-http]
          entryPoints = ["http"]
          service = "app"
          rule = "PathPrefix(`/api/v1`)"
          middlewares = ["api-stripprefix"]
    
      [http.services]
    
        [http.services.app]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/behind-a-proxy.md

    ///
    
    接下来,创建 `routes.toml`:
    
    ```TOML hl_lines="5  12  20"
    [http]
      [http.middlewares]
    
        [http.middlewares.api-stripprefix.stripPrefix]
          prefixes = ["/api/v1"]
    
      [http.routers]
    
        [http.routers.app-http]
          entryPoints = ["http"]
          service = "app"
          rule = "PathPrefix(`/api/v1`)"
          middlewares = ["api-stripprefix"]
    
      [http.services]
    
        [http.services.app]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/behind-a-proxy.md

    ```TOML hl_lines="5  12  20"
    [http]
      [http.middlewares]
    
        [http.middlewares.api-stripprefix.stripPrefix]
          prefixes = ["/api/v1"]
    
      [http.routers]
    
        [http.routers.app-http]
          entryPoints = ["http"]
          service = "app"
          rule = "PathPrefix(`/api/v1`)"
          middlewares = ["api-stripprefix"]
    
      [http.services]
    
        [http.services.app]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top