- Sort Score
- Num 10 results
- Language All
Results 521 - 530 of 861 for requestor (0.32 seconds)
-
tests/test_tutorial/test_schema_extra_example/test_tutorial003.py
pytest.param("tutorial003_an_py39"), pytest.param("tutorial003_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.schema_extra_example.{request.param}") client = TestClient(mod.app) return client def test_post_body_example(client: TestClient): response = client.put( "/items/5",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 5.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt
@Test fun nullDefaultProxySelector() { server!!.enqueue(MockResponse(body = "abc")) ProxySelector.setDefault(null) val client = clientTestRule.newClient() val request = Request(server!!.url("/")) val response = client.newCall(request).execute() assertThat(response.body.string()).isEqualTo("abc") } @Test fun sslSocketFactorySetAsSocketFactory() { val builder = OkHttpClient.Builder()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 13.4K bytes - Click Count (1) -
docs/zh/docs/tutorial/testing.md
``` //// ### 扩展后的测试文件 然后您可以使用扩展后的测试更新`test_main.py`: {* ../../docs_src/app_testing/app_b/test_main.py *} 每当你需要客户端在请求中传递信息,但你不知道如何传递时,你可以通过搜索(谷歌)如何用 `httpx`做,或者是用 `requests` 做,毕竟HTTPX的设计是基于Requests的设计的。 接着只需在测试中同样操作。 示例: * 传一个*路径* 或*查询* 参数,添加到URL上。 * 传一个JSON体,传一个Python对象(例如一个`dict`)到参数 `json`。 * 如果你需要发送 *Form Data* 而不是 JSON,使用 `data` 参数。 * 要发送 *headers*,传 `dict` 给 `headers` 参数。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 5.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/FessApiAdminAction.java
/** * Default constructor. */ public FessApiAdminAction() { super(); } /** * Determines whether the current request is authorized to access admin API endpoints. * This method validates the access token and checks if the associated permissions * allow admin access according to the Fess configuration. *Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 2.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java
import jcifs.internal.smb1.ServerMessageBlock; /** * SMB1 Query Information request message. * * This command is used to retrieve basic file information * such as attributes, size, and timestamps. */ public class SmbComQueryInformation extends ServerMessageBlock { /** * Constructs a query information request. * * @param config the configuration * @param filename the file name to queryCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
tests/test_tutorial/test_generate_clients/test_tutorial001.py
from fastapi.testclient import TestClient @pytest.fixture( name="client", params=[ pytest.param("tutorial001_py39"), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.generate_clients.{request.param}") client = TestClient(mod.app) return client def test_post_items(client: TestClient):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 5.2K bytes - Click Count (0) -
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002.py
name="client", params=[ pytest.param("tutorial002_py39"), pytest.param("tutorial002_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest) -> TestClient: mod = importlib.import_module(f"docs_src.separate_openapi_schemas.{request.param}") client = TestClient(mod.app) return client def test_create_item(client: TestClient) -> None:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 5K bytes - Click Count (0) -
dbflute_fess/dfprop/littleAdjustmentMap.dfprop
# o refreshMap: (NotRequired - Default map:{projectName=$$AutoDetect$$ ; requestUrl=http://localhost:8386/}) # If you use synchronizer and specify this property, no need to refresh(F5) your eclipse project. # The projectName can be set plural names by slash '/'. e.g. sea/land # #; refreshMap = map:{ # ; projectName = $$AutoDetect$$ # ; requestUrl = http://localhost:8386/ #} # - - - - - - - - - -/Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Jul 25 06:04:16 GMT 2015 - 8.8K bytes - Click Count (0) -
cmd/sftp-server.go
}, nil } func validateClientKeyIsTrusted(c ssh.ConnMetadata, clientKey ssh.PublicKey) (err error) { if globalSFTPTrustedCAPubkey == nil { return errors.New("public key authority validation requested but no ca public key specified.") } cert, ok := clientKey.(*ssh.Certificate) if !ok { return errSftpPublicKeyWithoutCert } // ssh.CheckCert called by ssh.Authenticate accepts certificates
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.5K bytes - Click Count (0) -
tests/test_tutorial/test_additional_responses/test_tutorial002.py
@pytest.fixture( name="client", params=[ pytest.param("tutorial002_py39"), pytest.param("tutorial002_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.additional_responses.{request.param}") client = TestClient(mod.app) client.headers.clear() return client def test_path_operation(client: TestClient):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 4.7K bytes - Click Count (0)