- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 617 for Want (0.03 seconds)
-
fastapi/security/oauth2.py
is not available, instead of erroring out, the dependency result will be `None`. This is useful when you want to have optional authentication. It is also useful when you want to have authentication that can be provided in one of multiple optional ways (for example, with OAuth2 or in a cookie). """Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 22K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle_test.go
VersionID: "", IsLatest: true, NumVersions: 1, }, want: 0, lc: lc, }, } for i, tc := range tests { t.Run(fmt.Sprintf("test-%d", i+1), func(t *testing.T) { if got := tc.lc.FilterRules(tc.opts); len(got) != tc.want { t.Fatalf("Expected %d rules to match but got %d", tc.want, len(got)) } w := httptest.NewRecorder() tc.lc.SetPredictionHeaders(w, tc.opts)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 55.5K bytes - Click Count (0) -
internal/handlers/proxy_test.go
if res != "8.8.8.8" { t.Errorf("wrong header, xff takes precedence: got %s, want: 8.8.8.8", res) } // When explicitly disabled, the XFF header is ignored and X-Real-IP is used. enableXFFHeader = false defer func() { enableXFFHeader = true }() res = GetSourceIP(req) if res != "1.1.1.1" { t.Errorf("wrong header, xff is disabled: got %s, want: 1.1.1.1", res) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Feb 26 19:25:49 GMT 2025 - 3.9K bytes - Click Count (0) -
fastapi/security/api_key.py
available, instead of erroring out, the dependency result will be `None`. This is useful when you want to have optional authentication. It is also useful when you want to have authentication that can be provided in one of multiple optional ways (for example, in a query parameter or in an HTTP Bearer token).Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 9.6K bytes - Click Count (1) -
src/cmd/addr2line/addr2line_test.go
if err != nil { t.Fatalf("Stat failed: %v", err) } if !os.SameFile(fi1, fi2) { t.Fatalf("addr2line_test.go and %s are not same file", srcPath) } if want := "102"; srcLineNo != want { t.Fatalf("line number = %v; want %s", srcLineNo, want) } } // This is line 101. The test depends on that. func TestAddr2Line(t *testing.T) { testenv.MustHaveGoBuild(t) tmpDir := t.TempDir()Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Sep 06 13:23:48 GMT 2024 - 3.2K bytes - Click Count (0) -
cmd/xl-storage-format-v2_test.go
test.input[i], test.input[j] = test.input[j], test.input[i] }) got := mergeXLV2Versions(test.quorum, true, 0, test.input...) if !reflect.DeepEqual(test.want, got) { t.Errorf("want %v != got %v", test.want, got) } }) } }) } } func Test_mergeEntryChannels(t *testing.T) { dataZ, err := os.ReadFile("testdata/xl-meta-merge.zip") if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37.8K bytes - Click Count (0) -
docs/en/docs/advanced/openapi-webhooks.md
# OpenAPI Webhooks { #openapi-webhooks } There are cases where you want to tell your API **users** that your app could call *their* app (sending a request) with some data, normally to **notify** of some type of **event**. This means that instead of the normal process of your users sending requests to your API, it's **your API** (or your app) that could **send requests to their system** (to their API, their app). This is normally called a **webhook**.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.9K bytes - Click Count (0) -
cmd/data-scanner_test.go
obj: obj, want: lifecycle.DeleteAllVersionsAction, }, { // with object locking ilm: *delMarkerLc, retention: &objectlock.Retention{LockEnabled: true}, obj: delMarker, want: lifecycle.NoneAction, }, { // without object locking ilm: *delMarkerLc, retention: &objectlock.Retention{}, obj: delMarker,Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12K bytes - Click Count (0) -
.teamcity/src/main/kotlin/projects/CheckProject.kt
) text( "reverse.dep.*.additional.gradle.parameters", "", display = ParameterDisplay.NORMAL, allowEmpty = true, description = "The extra gradle parameters you want to pass to all dependencies of this build, " +Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 3.9K bytes - Click Count (1) -
cmd/object-handlers-common_test.go
if tc.expectedFlag != actualFlag { t.Errorf("test: %s, got flag: %v, want: %v", tc.name, actualFlag, tc.expectedFlag) } if tc.expectedCode != recorder.Code { t.Errorf("test: %s, got code: %d, want: %d", tc.name, recorder.Code, tc.expectedCode) } }) } testCases = []struct { name string ifMatch stringCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 5.3K bytes - Click Count (0)