Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 72 for middleware (0.06 sec)

  1. docs/zh/docs/tutorial/cors.md

    /// note | "技术细节"
    
    你也可以使用 `from starlette.middleware.cors import CORSMiddleware`。
    
    出于方便,**FastAPI** 在 `fastapi.middleware` 中为开发者提供了几个中间件。但是大多数可用的中间件都是直接来自 Starlette。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/response-headers.md

    ///
    
    ## 自定义头部
    
    请注意,可以使用'X-'前缀添加自定义专有头部。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. docs/es/docs/advanced/response-headers.md

    necesario que los añadas a tus configuraciones de CORS (puedes leer más en [CORS (Cross-Origin Resource Sharing)](../tutorial/cors.md){.internal-link target=_blank}), usando el parámetro `expose_headers` documentado en <a href="https://www.starlette.io/middleware/#corsmiddleware" class="external-link" target="_blank">Starlette's CORS docs</a>....
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/cors.md

    /// note | "技術詳細"
    
    `from starlette.middleware.cors import CORSMiddleware` も使用できます。
    
    **FastAPI** は、開発者の利便性を高めるために、`fastapi.middleware` でいくつかのミドルウェアを提供します。利用可能なミドルウェアのほとんどは、Starletteから直接提供されています。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. docs/em/docs/how-to/custom-request-and-route.md

    ➡️ 👀 ❔ ⚒ ⚙️ 🛃 `Request` 🏿 🗜 🗜 📨.
    
    &amp; `APIRoute` 🏿 ⚙️ 👈 🛃 📨 🎓.
    
    ### ✍ 🛃 `GzipRequest` 🎓
    
    /// tip
    
    👉 🧸 🖼 🎦 ❔ ⚫️ 👷, 🚥 👆 💪 🗜 🐕‍🦺, 👆 💪 ⚙️ 🚚 [`GzipMiddleware`](../advanced/middleware.md#gzipmiddleware){.internal-link target=_blank}.
    
    ///
    
    🥇, 👥 ✍ `GzipRequest` 🎓, ❔ 🔜 📁 `Request.body()` 👩‍🔬 🗜 💪 🔍 ☑ 🎚.
    
    🚥 📤 🙅‍♂ `gzip` 🎚, ⚫️ 🔜 🚫 🔄 🗜 💪.
    
    👈 🌌, 🎏 🛣 🎓 💪 🍵 🗜 🗜 ⚖️ 🗜 📨.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. fastapi/applications.py

            """
            Add a middleware to the application.
    
            Read more about it in the
            [FastAPI docs for Middleware](https://fastapi.tiangolo.com/tutorial/middleware/).
    
            ## Example
    
            ```python
            import time
    
            from fastapi import FastAPI, Request
    
            app = FastAPI()
    
    
            @app.middleware("http")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  7. cmd/admin-router.go

    // name of the function handler passed (this handler must be a method of
    // `adminAPIHandlers`).
    //
    // - sets up call to send AuditLog
    //
    // While this is a middleware function (i.e. it takes a handler function and
    // returns one), due to flags being passed based on required conditions, it is
    // done per-"handler function registration" in the router.
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  8. pyproject.toml

    [tool.pytest.ini_options]
    addopts = [
      "--strict-config",
      "--strict-markers",
      "--ignore=docs_src",
    ]
    xfail_strict = true
    junit_family = "xunit2"
    filterwarnings = [
        "error",
        'ignore:starlette.middleware.wsgi is deprecated and will be removed in a future release\..*:DeprecationWarning:starlette',
        # For passlib
        "ignore:'crypt' is deprecated and slated for removal in Python 3.13:DeprecationWarning",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 14:19:56 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. cmd/generic-handlers.go

    				writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrInsecureSSECustomerRequest), r.URL)
    			}
    			return
    		}
    		h.ServeHTTP(w, r)
    	})
    }
    
    // setBucketForwardingMiddleware middleware forwards the path style requests
    // on a bucket to the right bucket location, bucket to IP configuration
    // is obtained from centralized etcd configuration service.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  10. go.mod

    	github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
    	github.com/google/uuid v1.6.0
    	github.com/gorilla/mux v1.8.1
    	github.com/gorilla/websocket v1.5.3
    	github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
    	github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
    	github.com/hashicorp/go-multierror v1.1.1
    	github.com/hashicorp/go-version v1.7.0
    	github.com/hashicorp/golang-lru/v2 v2.0.7
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 06:23:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top