- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 804 for handlers (0.07 sec)
-
cmd/api-router.go
return h&flag != 0 } // s3APIMiddleware - performs some common handler functionality for S3 API // handlers. // // It is set per-"handler function registration" in the router to allow for // behavior modification via flags. // // This middleware always calls `collectAPIStats` to collect API stats. // // The passed in handler function must be a method of `objectAPIHandlers` for
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed May 07 15:37:12 UTC 2025 - 23.3K bytes - Viewed (0) -
cmd/bucket-policy-handlers_test.go
t.Fatalf("Test %d: Failed to create HTTP request for GetBucketPolicyHandler: <ERROR> %v", i+1, err) } // Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler. // Call the ServeHTTP to execute the handler, GetBucketPolicyHandler handles the request. apiRouter.ServeHTTP(recV4, reqV4) // Assert the response code with the expected status. if recV4.Code != testCase.expectedRespStatus {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.9K bytes - Viewed (0) -
cmd/test-utils_test.go
// Usage hint: Should be used at the end of the API end points tests (ex: check the last few lines of `testAPIListObjectPartsHandler`), // need a sample HTTP request to be sent as argument so that the relevant handler is called, the handler registration is expected
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
docs/lambda/README.md
## Example Lambda handler Install the necessary dependencies. ```sh pip install flask requests ``` Following is an example lambda handler. ```py from flask import Flask, request, abort, make_response import requests app = Flask(__name__)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 7.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
* * {@snippet : * static final ImmutableClassToInstanceMap<Handler> HANDLERS = * new ImmutableClassToInstanceMap.Builder<Handler>() * .put(FooHandler.class, new FooHandler()) * .put(BarHandler.class, new SubBarHandler()) * .put(Handler.class, new QuuxHandler()) * .build(); * } *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.1K bytes - Viewed (0) -
cmd/utils.go
RequestID: reqID, RemoteHost: handlers.GetSourceIP(r), Host: getHostName(r), UserAgent: r.UserAgent(), API: api, BucketName: bucket, ObjectName: object, VersionID: strings.TrimSpace(r.Form.Get(xhttp.VersionID)), } return logger.SetReqInfo(r.Context(), reqInfo) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 33K bytes - Viewed (0) -
docs/en/mkdocs.yml
advanced/conditional-openapi.md: how-to/conditional-openapi.md advanced/extending-openapi.md: how-to/extending-openapi.md advanced/testing-database.md: how-to/testing-database.md mkdocstrings: handlers: python: options: extensions: - griffe_typingdoc show_root_heading: true show_if_no_docstring: true preload_modules: - httpx
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 9.8K bytes - Viewed (0) -
cmd/server-main.go
globalRemoteTargetTransport = NewRemoteTargetHTTPTransport(false)() globalProxyEndpoints = GetProxyEndpoints(globalEndpoints, globalRemoteTargetTransport) globalForwarder = handlers.NewForwarder(&handlers.Forwarder{ PassHost: true, RoundTripper: globalRemoteTargetTransport, Logger: func(err error) { if err != nil && !errors.Is(err, context.Canceled) { proxyLogIf(GlobalContext, err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:18:36 UTC 2025 - 35.9K bytes - Viewed (4) -
cmd/storage-rest_test.go
endpoint.SetIdx = 0 endpoint.DiskIdx = 0 poolEps := []PoolEndpoints{{ Endpoints: Endpoints{endpoint}, }} poolEps[0].SetCount = 1 poolEps[0].DrivesPerSet = 1 // Register handlers on newly created servers registerStorageRESTHandlers(tg.Mux[0], poolEps, tg.Managers[0]) registerStorageRESTHandlers(tg.Mux[1], poolEps, tg.Managers[1]) storage := globalLocalSetDrives[0][0][0]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 11.4K bytes - Viewed (0) -
cmd/kms-handlers_test.go
for testNum, test := range tests { t.Run(fmt.Sprintf("%d %s", testNum+1, test.name), func(t *testing.T) { execKMSTest(t, test, adminTestBed) }) } } // execKMSTest runs a single test case for KMS handlers func execKMSTest(t *testing.T, test kmsTestCase, adminTestBed *adminErasureTestBed) { var accessKey, secretKey string if test.asRoot { accessKey, secretKey = globalActiveCred.AccessKey, globalActiveCred.SecretKey
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 22.3K bytes - Viewed (0)