- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 254 for req_ext (0.11 sec)
-
pkg/config/security/security.go
attrRequestPrincipal = "request.auth.principal" // authenticated principal of the request. attrRequestAudiences = "request.auth.audiences" // intended audience(s) for this authentication information. attrRequestPresenter = "request.auth.presenter" // authorized presenter of the credential. attrRequestClaims = "request.auth.claims" // claim name is surrounded by brackets, e.g. "request.auth.claims[iss]".
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 07 04:43:34 UTC 2024 - 9.4K bytes - Viewed (0) -
cmd/kms-handlers.go
"github.com/minio/minio/internal/logger" "github.com/minio/pkg/v3/policy" ) // KMSStatusHandler - GET /minio/kms/v1/status func (a kmsAPIHandlers) KMSStatusHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "KMSStatus") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r)) objectAPI, _ := validateAdminReq(ctx, w, r, policy.KMSStatusAction) if objectAPI == nil { return }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.2K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/http.go
var getTransport httpTransportGetter var closeSharedTransport func() switch { case cfg.Request.Http3: getTransport, closeSharedTransport = newHTTP3TransportGetter(cfg) case cfg.Request.Http2: getTransport, closeSharedTransport = newHTTP2TransportGetter(cfg) default: getTransport, closeSharedTransport = newHTTPTransportGetter(cfg) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 13:56:46 UTC 2024 - 7.9K bytes - Viewed (0) -
pilot/pkg/xds/workload.go
} subs := sets.New(w.ResourceNames...) var addresses sets.String if isReq { // this is from request, we only send response for the subscribed address // At t0, a client request A, we only send A and additional resources back to the client. // At t1, a client request B, we only send B and additional resources back to the client, no A here. addresses = req.Delta.Subscribed } else { if w.Wildcard {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 14:14:30 UTC 2024 - 8.7K bytes - Viewed (0) -
cmd/dummy-handlers.go
func (api objectAPIHandlers) DeleteBucketWebsiteHandler(w http.ResponseWriter, r *http.Request) { writeSuccessResponseHeadersOnly(w) } // GetBucketCorsHandler - GET bucket cors, a dummy api func (api objectAPIHandlers) GetBucketCorsHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "GetBucketCors") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 7.1K bytes - Viewed (0) -
src/net/http/cgi/cgi_main.go
os.Exit(0) case "/empty-headers": fmt.Printf("\nHello") os.Exit(0) } Serve(http.HandlerFunc(func(rw http.ResponseWriter, req *http.Request) { if req.FormValue("nil-request-body") == "1" { fmt.Fprintf(rw, "nil-request-body=%v\n", req.Body == nil) return } rw.Header().Set("X-Test-Header", "X-Test-Value") req.ParseForm() if req.FormValue("no-body") == "1" { return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.1K bytes - Viewed (0) -
docs/en/docs/advanced/templates.md
</div> ## Using `Jinja2Templates` * Import `Jinja2Templates`. * Create a `templates` object that you can reuse later. * Declare a `Request` parameter in the *path operation* that will return a template. * Use the `templates` you created to render and return a `TemplateResponse`, pass the name of the template, the request object, and a "context" dictionary with key-value pairs to be used inside of the Jinja2 template. ```Python hl_lines="4 11 15-18"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 3.2K bytes - Viewed (0) -
docs/zh/docs/advanced/templates.md
* 导入 `Jinja2Templates` * 创建可复用的 `templates` 对象 * 在返回模板的*路径操作*中声明 `Request` 参数 * 使用 `templates` 渲染并返回 `TemplateResponse`, 传递模板的名称、request对象以及一个包含多个键值对(用于Jinja2模板)的"context"字典, ```Python hl_lines="4 11 15-16" {!../../../docs_src/templates/tutorial001.py!} ``` !!! note "笔记" 在FastAPI 0.108.0,Starlette 0.29.0之前,`name`是第一个参数。 并且,在此之前,`request`对象是作为context的一部分以键值对的形式传递的。 !!! tip "提示"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon May 27 16:19:21 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/context/DaemonCompatibilitySpecSpec.groovy
request = new DaemonRequestContext(null, jvmCriteria, daemonOpts, applyInstrumentationAgent, nativeServicesMode, priority) } private boolean isCompatible() { new DaemonCompatibilitySpec(request).isSatisfiedBy(candidate) } private String getUnsatisfiedReason() { new DaemonCompatibilitySpec(request).whyUnsatisfied(candidate) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 8.1K bytes - Viewed (0) -
cmd/jwt.go
return jwt.SignedString([]byte(secretKey)) } // Check if the request is authenticated. // Returns nil if the request is authenticated. errNoAuthToken if token missing. // Returns errAuthentication for all other errors. func metricsRequestAuthenticate(req *http.Request) (*xjwt.MapClaims, []string, bool, error) { token, err := jwtreq.AuthorizationHeaderExtractor.ExtractToken(req) if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0)