Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for test_cors (0.14 sec)

  1. tests/test_tutorial/test_cors/test_tutorial001.py

    from fastapi.testclient import TestClient
    
    from docs_src.cors.tutorial001 import app
    
    
    def test_cors():
        client = TestClient(app)
        # Test pre-flight response
        headers = {
            "Origin": "https://localhost.tiangolo.com",
            "Access-Control-Request-Method": "GET",
            "Access-Control-Request-Headers": "X-Example",
        }
        response = client.options("/", headers=headers)
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 09 18:06:12 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  2. src/main/resources/fess_cors.xml

    Shinsuke Sugaya <******@****.***> 1685855805 +0900
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 04 05:16:45 UTC 2023
    - 378 bytes
    - Viewed (0)
  3. test_docs.sh

    Jesse Wilson <******@****.***> 1713361936 -0400
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 17 13:52:16 UTC 2024
    - 718 bytes
    - Viewed (0)
  4. .github/workflows/docs.yml

        types: [opened, labeled, unlabeled, synchronize]
    
    permissions:
      contents: read
    
    env:
      GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
    
    jobs:
      test_docs:
        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
        if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'documentation')
    
        steps:
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 04 06:13:36 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. src/main/resources/app.xml

    <components>
    	<include path="convention.xml"/>
    	<include path="lastaflute.xml"/>
    	<include path="lasta_job.xml"/>
    
    	<include path="fess.xml"/>
    	<include path="fess_api.xml"/>
    	<include path="fess_cors.xml"/>
    	<include path="fess_dict.xml"/>
    	<include path="fess_job.xml"/>
    	<include path="fess_ldap.xml"/>
    	<include path="fess_query.xml"/>
    	<include path="fess_rankfusion.xml"/>
    	<include path="fess_score.xml"/>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Nov 19 02:22:47 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            assertEquals(25, ESSourceReader.getLimitDocNum(50, 50, -1));
            assertEquals(10, ESSourceReader.getLimitDocNum(50, 50, 10));
        }
    
        @Test
        public void test_sort() throws Exception {
            String indexName = "test-index";
            Client client = runner.client();
            SuggestSettings settings = suggester.settings();
            int num = 10000;
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top