- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 101 for Scheme (0.04 sec)
-
cmd/api-response_test.go
Header: map[string][]string{ "X-Forwarded-Scheme": {httpScheme}, }, }, bucket: "testbucket1", object: "test/1.txt", expectedLocation: "http://127.0.0.1:9000/testbucket1/test/1.txt", }, { request: &http.Request{ Host: "127.0.0.1:9000", Header: map[string][]string{ "X-Forwarded-Scheme": {httpsScheme}, }, }, bucket: "testbucket1",
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.5K bytes - Viewed (0) -
cmd/bucket-targets.go
tgts := sys.ListTargets(ctx, "", "") sys.hMutex.Lock() for _, t := range tgts { if _, ok := m[t.Endpoint]; !ok { scheme := "http" if t.Secure { scheme = "https" } epHealth := epHealth{ Online: true, Endpoint: t.Endpoint, Scheme: scheme, } if prev, ok := sys.hc[t.Endpoint]; ok { epHealth.lastOnline = prev.lastOnline
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.9K bytes - Viewed (0) -
cmd/generic-handlers.go
if err != nil { return nil } return &xnet.URL{ Host: net.JoinHostPort(xhost.Name, globalMinioConsolePort), Scheme: func() string { scheme := "http" if r.TLS != nil { scheme = "https" } return scheme }(), } } return nil } // guessIsHealthCheckReq - returns true if incoming request looks // like healthCheck requestRegistered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.7K bytes - Viewed (1) -
docs/en/mkdocs.yml
site_url: https://fastapi.tiangolo.com/ theme: name: material custom_dir: ../en/overrides palette: - media: (prefers-color-scheme) toggle: icon: material/lightbulb-auto name: Switch to light mode - media: '(prefers-color-scheme: light)' scheme: default primary: teal accent: amber toggle: icon: material/lightbulbRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 9.8K bytes - Viewed (0) -
cmd/endpoint_test.go
Endpoint{URL: &url.URL{Scheme: "http", Host: "localhost:9000", Path: "/d1"}, IsLocal: true}, Endpoint{URL: &url.URL{Scheme: "http", Host: "localhost:9000", Path: "/d2"}, IsLocal: true}, Endpoint{URL: &url.URL{Scheme: "http", Host: "localhost:9000", Path: "/d3"}, IsLocal: true}, Endpoint{URL: &url.URL{Scheme: "http", Host: "localhost:9000", Path: "/d4"}, IsLocal: true},Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 18.9K bytes - Viewed (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
{* ../../docs_src/security/tutorial005_an_py310.py hl[5,9,13,47,65,106,108:116,122:126,130:136,141,157] *} Now let's review those changes step by step. ## OAuth2 Security scheme { #oauth2-security-scheme } The first change is that now we are declaring the OAuth2 security scheme with two available scopes, `me` and `items`. The `scopes` parameter receives a `dict` with each scope as a key and the description as the value:Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 13.5K bytes - Viewed (0) -
cmd/notification.go
length := len(sys.allPeerClients) if length == 0 { // For single node erasure setup. return nil } results := make([]madmin.NetperfNodeResult, length) scheme := "http" if globalIsTLS { scheme = "https" } var wg sync.WaitGroup for index := range sys.peerClients { if sys.peerClients[index] == nil { continue } wg.Add(1) go func(index int) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 45.9K bytes - Viewed (0) -
docs/en/docs/tutorial/security/first-steps.md
**FastAPI** will know that it can use this dependency to define a "security scheme" in the OpenAPI schema (and the automatic API docs). /// info | Technical Details
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 8.4K bytes - Viewed (0) -
docs/en/docs/advanced/middleware.md
/// ## `HTTPSRedirectMiddleware` { #httpsredirectmiddleware } Enforces that all incoming requests must either be `https` or `wss`. Any incoming request to `http` or `ws` will be redirected to the secure scheme instead. {* ../../docs_src/advanced_middleware/tutorial001.py hl[2,6] *} ## `TrustedHostMiddleware` { #trustedhostmiddleware }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:59:07 UTC 2025 - 4.3K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
Then, when you type that username and password, the browser sends them in the header automatically. ## Simple HTTP Basic Auth { #simple-http-basic-auth } * Import `HTTPBasic` and `HTTPBasicCredentials`. * Create a "`security` scheme" using `HTTPBasic`. * Use that `security` with a dependency in your *path operation*. * It returns an object of type `HTTPBasicCredentials`: * It contains the `username` and `password` sent.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5K bytes - Viewed (0)