- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 683 for putA (0.05 sec)
-
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
} final String template = replacement.substring(GROOVY_MATCHER.length()); return (u, m) -> { final Map<String, Object> paramMap = new HashMap<>(); paramMap.put("url", u); paramMap.put("matcher", m); final Object value = ComponentUtil.getScriptEngineFactory().getScriptEngine(Constants.DEFAULT_SCRIPT).evaluate(template, paramMap); if (value == null) {
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.6K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main.py
} ) def test_put_invalid_header(client: TestClient): response = client.put("/items/foo", headers={"X-Token": "invalid"}) assert response.status_code == 400, response.text assert response.json() == {"detail": "X-Token header invalid"} def test_put(client: TestClient): response = client.put( "/items/plumbus?token=jessica", headers={"X-Token": "fake-super-secret-token"} )
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 24.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/FileTypeHelper.java
if (values.length == 2) { mimetypeMap.put(values[0], values[1]); } })); if (logger.isDebugEnabled()) { logger.debug("loaded filetype: {}", mimetypeMap); } } public void add(final String mimetype, final String filetype) { mimetypeMap.put(mimetype, filetype); } public String get(final String mimetype) {
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.4K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an.py
from docs_src.schema_extra_example.tutorial004_an import app client = TestClient(app) # Test required and embedded body parameters with no bodies sent def test_post_body_example(): response = client.put( "/items/5", json={ "name": "Foo", "description": "A very nice Item", "price": 35.4, "tax": 3.2, }, )
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 6.9K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial001.py
from docs_src.schema_extra_example.tutorial001 import app client = TestClient(app) return client @needs_pydanticv2 def test_post_body_example(client: TestClient): response = client.put( "/items/5", json={ "name": "Foo", "description": "A very nice Item", "price": 35.4, "tax": 3.2, }, )
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 25.6K bytes - Viewed (0) -
tests/test_tutorial/test_body_updates/test_tutorial001.py
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 11.8K bytes - Viewed (0) -
tests/test_tutorial/test_body_updates/test_tutorial001_py310.py
"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": [], } @needs_py310 def test_put(client: TestClient): response = client.put( "/items/bar", json={"name": "Barz", "price": 3, "description": None} ) assert response.json() == { "name": "Barz", "description": None, "price": 3, "tax": 10.5,
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 11.8K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310.py
client = TestClient(app) return client @needs_py310 @needs_pydanticv2 def test_post_body_example(client: TestClient): response = client.put( "/items/5", json={ "name": "Foo", "description": "A very nice Item", "price": 35.4, "tax": 3.2, }, )
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/BadWordTests.java
final String keyProp = NAME_PREFIX + id; requestBody.put(KEY_PROPERTY, keyProp); return requestBody; } @Override protected Map<String, Object> getUpdateMap() { final Map<String, Object> updateMap = new HashMap<>(); updateMap.put(KEY_PROPERTY, NAME_PREFIX + "new"); return updateMap; } @Test void crudTest() {
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.2K bytes - Viewed (0)