Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 1,954 for Client (0.07 sec)

  1. tests/test_tutorial/test_response_model/test_tutorial003.py

    from dirty_equals import IsDict, IsOneOf
    from fastapi.testclient import TestClient
    
    from docs_src.response_model.tutorial003 import app
    
    client = TestClient(app)
    
    
    def test_post_user():
        response = client.post(
            "/user/",
            json={
                "username": "foo",
                "password": "fighter",
                "email": "******@****.***",
                "full_name": "Grave Dohl",
            },
        )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_custom_response/test_tutorial009.py

    from docs_src.custom_response.tutorial009 import app
    
    client = TestClient(app)
    
    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial009.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jul 03 19:51:28 UTC 2021
    - 487 bytes
    - Viewed (0)
  3. internal/logger/help.go

    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         KafkaClientTLSCert,
    			Description: "path to client certificate for mTLS auth",
    			Optional:    true,
    			Type:        "path",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         KafkaClientTLSKey,
    			Description: "path to client key for mTLS auth",
    			Optional:    true,
    			Type:        "path",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. internal/crypto/metadata.go

    	MetaSsecCRC = "X-Minio-Replication-Ssec-Crc"
    
    	// MetaContext is the KMS context provided by a client when encrypting an
    	// object with SSE-KMS. A client may not send a context in which case the
    	// MetaContext will not be present.
    	// MetaContext only contains the bucket/object name if the client explicitly
    	// added it. However, when decrypting an object the bucket/object name must
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. tests/test_callable_endpoint.py

    def main(some_arg, q: Optional[str] = None):
        return {"some_arg": some_arg, "q": q}
    
    
    endpoint = partial(main, "foo")
    
    app = FastAPI()
    
    app.get("/")(endpoint)
    
    
    client = TestClient(app)
    
    
    def test_partial():
        response = client.get("/?q=bar")
        data = response.json()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 28 18:13:30 UTC 2020
    - 457 bytes
    - Viewed (0)
  6. internal/hash/errors.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package hash
    
    import (
    	"errors"
    	"fmt"
    )
    
    // SHA256Mismatch - when content sha256 does not match with what was sent from client.
    type SHA256Mismatch struct {
    	ExpectedSHA256   string
    	CalculatedSHA256 string
    }
    
    func (e SHA256Mismatch) Error() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 15 21:08:54 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Dfs.java

        }
    
        static LogStream log = LogStream.getInstance();
        static final boolean strictView = Config.getBoolean("jcifs.smb1.smb.client.dfs.strictView", false);
        static final long TTL = Config.getLong("jcifs.smb1.smb.client.dfs.ttl", 300);
        static final boolean DISABLED = Config.getBoolean("jcifs.smb1.smb.client.dfs.disabled", false);
    
        protected static CacheEntry FALSE_ENTRY = new Dfs.CacheEntry(0L);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  8. docs/fr/docs/tutorial/body.md

    Quand vous avez besoin d'envoyer de la donnée depuis un client (comme un navigateur) vers votre API, vous l'envoyez en tant que **corps de requête**.
    
    Le corps d'une **requête** est de la donnée envoyée par le client à votre API. Le corps d'une **réponse** est la donnée envoyée par votre API au client.
    
    Votre API aura presque toujours à envoyer un corps de **réponse**. Mais un client n'a pas toujours à envoyer un corps de **requête**.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:34:41 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java

        * Sent by the server to indicate that the server and client are
        * on the same machine.  This implies that the server will include
        * a local security context handle in the Type 2 message, for
        * use in local authentication.
        */
        public static final int NTLMSSP_NEGOTIATE_LOCAL_CALL = 0x00004000;
    
        /**
        * Indicates that authenticated communication between the client
        * and server should carry a "dummy" digital signature.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 5.3K bytes
    - Viewed (0)
  10. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top