- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for middleware (0.11 sec)
-
cmd/api-router.go
// Wrap the actual handler with the appropriate tracing middleware. var tracedHandler http.HandlerFunc if handlerFlags.has(traceHdrsS3HFlag) { tracedHandler = httpTraceHdrs(f) } else { tracedHandler = httpTraceAll(f) } // Skip wrapping with the gzip middleware if specified. var gzippedHandler http.HandlerFunc = tracedHandler if !handlerFlags.has(noGZS3HFlag) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 15:25:16 UTC 2024 - 23.1K bytes - Viewed (0) -
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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:13:50 UTC 2024 - 11.6K bytes - Viewed (0) -
docs/en/mkdocs.yml
- tutorial/security/index.md - tutorial/security/first-steps.md - tutorial/security/get-current-user.md - tutorial/security/simple-oauth2.md - tutorial/security/oauth2-jwt.md - tutorial/middleware.md - tutorial/cors.md - tutorial/sql-databases.md - tutorial/bigger-applications.md - tutorial/background-tasks.md - tutorial/metadata.md - tutorial/static-files.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 22 20:28:02 UTC 2024 - 10.4K bytes - Viewed (0) -
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) -
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) -
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) -
cmd/common-main.go
if globalIsTLS { // If TLS certificates are provided enforce the HTTPS. server.EnabledListeners = []string{"https"} server.TLSPort = consolePort // Need to store tls-port, tls-host un config variables so secure.middleware can read from there consoleapi.TLSPort = globalMinioConsolePort consoleapi.Hostname = globalMinioConsoleHost } return server, nil } // Check for updates and print a notification message
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 31.7K bytes - Viewed (0) -
docs/em/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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.1K bytes - Viewed (0) -
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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 15:28:18 UTC 2024 - 12.2K bytes - Viewed (0) -
docs/de/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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.1K bytes - Viewed (0)