Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 2,008 for client (3.93 sec)

  1. tests/test_param_in_path_and_dependency.py

    @app.get("/users/{user_id}", dependencies=[Depends(user_exists)])
    async def read_users(user_id: int):
        pass
    
    
    client = TestClient(app)
    
    
    def test_read_users():
        response = client.get("/users/42")
        assert response.status_code == 200, response.text
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        data = response.json()
        assert data == {
            "openapi": "3.1.0",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py

    from fastapi.testclient import TestClient
    
    from docs_src.configure_swagger_ui.tutorial003_py39 import app
    
    client = TestClient(app)
    
    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        assert '"deepLinking": false,' in response.text, (
            "overridden configs should be preserved"
        )
        assert '"deepLinking": true' not in response.text, (
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

            .build()
        val client =
          HandshakeCertificates
            .Builder()
            .addTrustedCertificate(serverRoot.certificate)
            .heldCertificate(clientCertificate, clientIntermediate.certificate)
            .build()
        val serverAddress = startTlsServer()
        val serverHandshakeFuture = doServerHandshake(server)
        val clientHandshakeFuture = doClientHandshake(client, serverAddress)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.service.WebConfigService;
    import org.codelibs.fess.crawler.client.http.Authentication;
    import org.codelibs.fess.crawler.client.http.form.FormScheme;
    import org.codelibs.fess.crawler.client.http.impl.AuthenticationImpl;
    import org.codelibs.fess.crawler.client.http.ntlm.JcifsEngine;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 04:23:08 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. tests/test_read_with_orm_mode.py

        def create_person(person: PersonCreate) -> Any:
            db_person = Person.model_validate(person)
            return db_person
    
        client = TestClient(app)
    
        person_data = {"name": "Dive", "lastname": "Wilson"}
        response = client.post("/people/", json=person_data)
        data = response.json()
        assert response.status_code == 200, response.text
        assert data["name"] == person_data["name"]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  6. architecture/README.md

    ### Build execution model
    
    Gradle generally does some work in response to a client request. There are several different clients, for example the `gradlew` command or the tooling API client, 
    that can send requests to a Gradle daemon.
    Each daemon runs one request at a time. Generally speaking, the daemons only act in response to a request from a client and do not take any action on their own.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Jun 12 09:50:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi_simple.py

    async def read_admin():
        return {"message": "Admin Access"}
    
    
    client = TestClient(app)
    
    
    def test_read_admin():
        response = client.get("/admin", headers={"Authorization": "Bearer faketoken"})
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Admin Access"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

        }
    
        /**
         * Sets the client computer name.
         *
         * @param clientComputerName the client computer name
         */
        public void setClientComputerName(String clientComputerName) {
            this.clientComputerName = clientComputerName;
        }
    
        /**
         * Gets the client computer name.
         *
         * @return the client computer name
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. docs/smb3-features/05-rdma-smb-direct-design.md

    public static final String USE_RDMA = "jcifs.smb.client.useRDMA";
    public static final String RDMA_PROVIDER = "jcifs.smb.client.rdmaProvider";
    public static final String RDMA_READ_WRITE_THRESHOLD = "jcifs.smb.client.rdmaReadWriteThreshold";
    public static final String RDMA_MAX_SEND_SIZE = "jcifs.smb.client.rdmaMaxSendSize";
    public static final String RDMA_MAX_RECEIVE_SIZE = "jcifs.smb.client.rdmaMaxReceiveSize";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

     * to mutate the event parameters, or be re-entrant back into the client. Any IO - writing to files
     * or network should be done asynchronously.
     */
    abstract class EventListener {
      /**
       * Invoked as soon as a call is enqueued or executed by a client. In case of thread or stream
       * limits, this call may be executed well before processing the request is able to begin.
       *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:03:04 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top