- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 818 for Origins (5.21 sec)
-
staging/src/k8s.io/apiserver/pkg/server/filters/cors_test.go
name string allowedOrigins []string origins []string allowed bool }{ { name: "allowed origins list is empty", allowedOrigins: []string{}, origins: []string{"example.com"}, allowed: false, }, { name: "origin request header not set", allowedOrigins: []string{"example.com"}, origins: []string{""}, allowed: false, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 20 19:15:51 UTC 2023 - 7.9K bytes - Viewed (0) -
docs/en/docs/tutorial/cors.md
# CORS (Cross-Origin Resource Sharing) <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS" class="external-link" target="_blank">CORS or "Cross-Origin Resource Sharing"</a> refers to the situations when a frontend running in a browser has JavaScript code that communicates with a backend, and the backend is in a different "origin" than the frontend. ## Origin
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Nov 13 20:28:37 UTC 2022 - 5.1K bytes - Viewed (0) -
docs_src/cors/tutorial001.py
from fastapi import FastAPI from fastapi.middleware.cors import CORSMiddleware app = FastAPI() origins = [ "http://localhost.tiangolo.com", "https://localhost.tiangolo.com", "http://localhost", "http://localhost:8080", ] app.add_middleware( CORSMiddleware, allow_origins=origins, allow_credentials=True, allow_methods=["*"], allow_headers=["*"], ) @app.get("/")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 459 bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/OriginFixture.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/cors.go
// list all the origins in the Origin header field. For example, if the // HTTP request was initially issued by one origin but then later // redirected by another origin, the user agent MAY inform the server // that two origins were involved in causing the user agent to issue the // request // origin-list = serialized-origin *( SP serialized-origin ) func isOriginAllowed(originHeader string, allowedOriginPatternsREs []*regexp.Regexp) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 15 13:59:10 UTC 2022 - 4.6K bytes - Viewed (0) -
pilot/pkg/security/authn/policy_applier_test.go
{ RequiresType: &envoy_jwt.JwtRequirement_ProviderName{ ProviderName: "origins-0", }, }, { RequiresType: &envoy_jwt.JwtRequirement_ProviderName{ ProviderName: "origins-1", }, }, { RequiresType: &envoy_jwt.JwtRequirement_RequiresAll{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 01 07:32:22 UTC 2023 - 60.2K bytes - Viewed (0) -
src/internal/coverage/pods/pods.go
pod.CounterDataFiles = append(pod.CounterDataFiles, e.file) pod.Origins = append(pod.Origins, e.origin) pod.ProcessIDs = append(pod.ProcessIDs, e.pid) } pods = append(pods, pod) } slices.SortFunc(pods, func(a, b Pod) int { return strings.Compare(a.MetaFile, b.MetaFile) }) return pods } func warning(s string, a ...interface{}) { fmt.Fprintf(os.Stderr, "warning: ")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 6.6K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/TaskOriginTracker.java
import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; class TaskOriginTracker implements BuildOperationTracker { private final Map<Long, InternalPluginIdentifier> origins = new ConcurrentHashMap<>(); private final PluginApplicationTracker pluginApplicationTracker; TaskOriginTracker(PluginApplicationTracker pluginApplicationTracker) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 3.3K bytes - Viewed (0) -
src/internal/coverage/pods/pods_test.go
return db + "/" + b } podToString := func(p pods.Pod) string { rv := trim(p.MetaFile) + " [\n" for k, df := range p.CounterDataFiles { rv += trim(df) if p.Origins != nil { rv += fmt.Sprintf(" o:%d", p.Origins[k]) } rv += "\n" } return rv + "]" } // Create a couple of directories. o1 := mkdir("o1", 0777) o2 := mkdir("o2", 0777)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 31 14:00:17 UTC 2023 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go
// in the origin header, this will prevent CVE-2022-1996. // possible ways it can pin to the start of host in the origin header: // - match the start of the origin with '^' // - match what separates the scheme and host with '//' or '://', // this pins to the start of host in the origin header. // possible ways it can match the end of the host in the origin header:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 24 21:53:51 UTC 2023 - 15.4K bytes - Viewed (0)