Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 146 for checking (0.06 seconds)

  1. docs/en/docs/advanced/strict-content-type.md

    # Strict Content-Type Checking { #strict-content-type-checking }
    
    By default, **FastAPI** uses strict `Content-Type` header checking for JSON request bodies, this means that JSON requests **must** include a valid `Content-Type` header (e.g. `application/json`) in order for the body to be parsed as JSON.
    
    ## CSRF Risk { #csrf-risk }
    
    This default behavior provides protection against a class of **Cross-Site Request Forgery (CSRF)** attacks in a very specific scenario.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  2. okhttp/build.gradle.kts

      // but it currently won't compile to a module-info.class file.
      // Note that module checking only works on JDK 9+,
      // because the JDK built-in base modules are not available in earlier versions.
      val javaVersion = compileKotlinTask.kotlinJavaToolchain.javaVersion.getOrNull()
      when {
        javaVersion?.isJava9Compatible == true -> {
          logger.info("Module-info checking is enabled; $compileKotlinTask is compiled using Java $javaVersion")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 22:16:39 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  3. tests/test_dependency_paramless.py

    
    def process_auth(
        credentials: Annotated[str | None, Security(oauth2_scheme)],
        security_scopes: SecurityScopes,
    ):
        # This is an incorrect way of using it, this is not checking if the scopes are
        # provided by the token, only if the endpoint is requesting them, but the test
        # here is just to check if FastAPI is indeed registering and passing the scopes
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/SearchHelper.java

         *
         * @param searchRequestParams The search request parameters
         * @param data The search render data to populate with results
         * @param userBean Optional user information for permission checking
         */
        public void search(final SearchRequestParams searchRequestParams, final SearchRenderData data,
                final OptionalThing<FessUserBean> userBean) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessConfigImpl.java

            }
        }
    
        @Override
        protected ObjectiveProperties newObjectiveProperties(final String resourcePath, final PropertyFilter propertyFilter) {
            return new ObjectiveProperties(resourcePath) { // for e.g. checking existence and filtering value
                Cache<String, String> cache = CacheBuilder.newBuilder().build();
    
                @Override
                public String get(final String propertyKey) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 09:31:58 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  6. android/guava-tests/pom.xml

            <groupId>org.codehaus.mojo</groupId>
            <artifactId>animal-sniffer-maven-plugin</artifactId>
            <configuration>
              <checkTestClasses>false</checkTestClasses> <!-- TODO(cpovirk): Consider checking them. -->
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>build-helper-maven-plugin</artifactId>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 03:10:05 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        // Run these together.
        fakePool.runAll();
    
        // Check that this thread has been marked as interrupted again now that the thread has been
        // returned by SequentialExecutor. Clear the bit while checking so that the test doesn't hose
        // JUnit or some other test case.
        assertThat(Thread.interrupted()).isTrue();
      }
    
      public void testInterrupt_doesNotInterruptSubsequentTask() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

     * crawling and indexing documents, including incremental crawling capabilities, content
     * modification checking, and integration with the Fess search engine backend.
     *
     * <p>Key features include:</p>
     * <ul>
     * <li>Incremental crawling support with last-modified timestamp checking</li>
     * <li>Document expiration handling</li>
     * <li>Child URL extraction and queueing</li>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            // For cross-midnight rule, when checking early morning hours (1:30), it checks day+1
            // day=8 becomes day=1, so day+1=2, which is Monday (not Sunday)
            assertFalse(crossRule.isTarget(1, 30, 8)); // Should be treated as day 1 (Sunday), checking day+1=2 (Monday)
        }
    
        @Test
        public void test_addIntervalRule_multipleDays() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        // Run these together.
        fakePool.runAll();
    
        // Check that this thread has been marked as interrupted again now that the thread has been
        // returned by SequentialExecutor. Clear the bit while checking so that the test doesn't hose
        // JUnit or some other test case.
        assertThat(Thread.interrupted()).isTrue();
      }
    
      public void testInterrupt_doesNotInterruptSubsequentTask() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 10.5K bytes
    - Click Count (0)
Back to Top