- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 759 for allowed (0.05 sec)
-
docs/en/docs/tutorial/cors.md
## Use `CORSMiddleware` { #use-corsmiddleware } You can configure it in your **FastAPI** application using the `CORSMiddleware`. * Import `CORSMiddleware`. * Create a list of allowed origins (as strings). * Add it as a "middleware" to your **FastAPI** application. You can also specify whether your backend allows:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/util/PathValidatorTest.java
assertTrue(e.getMessage().contains("not allowed")); } // Should allow other paths String allowed = validator.validatePath("\\share\\allowed\\file.txt"); assertEquals("\\share\\allowed\\file.txt", allowed); } @Test public void testWhitelist() throws Exception { validator.addToWhitelist("\\share\\allowed"); // Should allow whitelisted path
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java
return userAgent; } /** * Checks if the given path is allowed according to this directive. * @param path the path to check * @return true if the path is allowed, false otherwise */ public boolean allows(final String path) { for (final String allowedPath : allowedPaths) { if (path.startsWith(allowedPath)) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Normal authentication should be allowed assertTrue(rateLimiter.checkAttempt("user1", "192.168.1.1"), "First attempt should be allowed"); // Record success rateLimiter.recordSuccess("user1", "192.168.1.1"); // Should still be allowed assertTrue(rateLimiter.checkAttempt("user1", "192.168.1.1"), "After success should be allowed"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
errors.go
// ErrPreloadNotAllowed preload is not allowed when count is used ErrPreloadNotAllowed = errors.New("preload is not allowed when count is used") // ErrDuplicatedKey occurs when there is a unique key constraint violation ErrDuplicatedKey = errors.New("duplicated key not allowed") // ErrForeignKeyViolated occurs when there is a foreign key constraint violation
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 26 02:53:17 UTC 2024 - 2.5K bytes - Viewed (0) -
cmd/auth-handler.go
if s3Err != ErrNone { return cred, s3Err } if globalIAMSys.IsAllowed(policy.Args{ AccountName: cred.AccessKey, Groups: cred.Groups, Action: policy.Action(action), ConditionValues: getConditionValues(r, "", cred), IsOwner: owner, Claims: cred.Claims, }) { // Request is allowed return the appropriate access key. return cred, ErrNone }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
"--connect-timeout", ).help( "Maximum time allowed for connection (seconds)", ).int() .default(DEFAULT_TIMEOUT) val readTimeout: Int by option("--read-timeout") .help("Maximum time allowed for reading data (seconds)") .int() .default(DEFAULT_TIMEOUT) val callTimeout: Int by option( "--call-timeout", ).help( "Maximum time allowed for the entire call (seconds)", ).int()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java
} expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testReplaceEntry_unsupportedAbsentKey() { try { getMap().replace(k3(), v3(), v4()); } catch (UnsupportedOperationException tolerated) { // the operation would be a no-op, so exceptions are allowed but not required } expectUnchanged();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 5.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java
} expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testReplaceEntry_unsupportedAbsentKey() { try { getMap().replace(k3(), v3(), v4()); } catch (UnsupportedOperationException tolerated) { // the operation would be a no-op, so exceptions are allowed but not required } expectUnchanged();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/cors/CorsHandler.java
} /** * CORS header for specifying allowed origin. */ protected static final String ACCESS_CONTROL_ALLOW_ORIGIN = "Access-Control-Allow-Origin"; /** * CORS header for specifying allowed headers. */ protected static final String ACCESS_CONTROL_ALLOW_HEADERS = "Access-Control-Allow-Headers"; /** * CORS header for specifying allowed HTTP methods. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.4K bytes - Viewed (0)