- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for test_cors (0.08 sec)
-
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) -
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) -
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) -
.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) -
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) -
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) -
tensorflow/BUILD
], output_dir = "_api/v1/", output_files = TENSORFLOW_API_INIT_FILES_V1, output_package = "tensorflow._api.v1", packages_to_ignore = ["tensorflow.python.framework.test_ops"], root_file_name = "v1.py", root_init_template = "api_template_v1.__init__.py", ) generate_apis( name = "tf_python_api_gen_v2", api_packages_file_name = "api_packages.txt",
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 16 05:28:35 UTC 2024 - 53.5K bytes - Viewed (0) -
cmd/server_test.go
c.Assert(errorResponse.Code, code) c.Assert(errorResponse.Message, description) c.Assert(response.StatusCode, statusCode) } func runAllTests(suite *TestSuiteCommon, c *check) { suite.SetUpSuite(c) suite.TestCors(c) suite.TestObjectDir(c) suite.TestBucketPolicy(c) suite.TestDeleteBucket(c) suite.TestDeleteBucketNotEmpty(c) suite.TestDeleteMultipleObjects(c) suite.TestDeleteObject(c) suite.TestNonExistentBucket(c)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0)