Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 801 - 810 of 1,943 for Responses (0.17 seconds)

  1. tests/test_dependency_paramless.py

        assert response.status_code == 200, response.text
        assert response.json() == {"status": "ok"}
    
    
    def test_parameterless_without_scopes():
        response = client.get(
            "/parameterless-without-scopes", headers={"authorization": "Bearer token"}
        )
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "a or b not in scopes"}
    
    
    def test_call_get_parameterless_without_scopes_for_coverage():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  2. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

        Request request = new Request.Builder()
                .url(url)
                .build();
        try (Response response = client.newCall(request).execute()) {
          assertTrue(response.code() == 200 || response.code() == 404);
          assertEquals(Protocol.HTTP_2, response.protocol());
    
          for (Certificate c: response.handshake().peerCertificates()) {
            X509Certificate x = (X509Certificate) c;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 26 06:37:08 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SigningDigest.java

         */
        void sign(final byte[] data, final int offset, final int length, final ServerMessageBlock request, final ServerMessageBlock response) {
            request.signSeq = signSequence;
            if (response != null) {
                response.signSeq = signSequence + 1;
                response.verifyFailed = false;
            }
    
            try {
                update(macSigningKey, 0, macSigningKey.length);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbTreeImpl.java

                            response = (TreeConnectResponse) request.getResponse();
                            if (response.isReceived() && !response.isError() && response.getErrorCode() == NtStatus.NT_STATUS_SUCCESS) {
                                if (!transport.isDisconnected()) {
                                    treeConnected(transport, sess, response);
                                }
                                throw se;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/witness/WitnessClient.java

                    request.setFlags(registration.getFlags());
    
                    WitnessRegisterResponse response = rpcClient.register(request);
    
                    if (response != null && response.isSuccess()) {
                        registration.setState(WitnessRegistrationState.REGISTERED);
                        registration.setContextHandle(response.getContextHandle());
                        registrations.put(registration.getRegistrationId(), registration);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/middleware.md

    ///
    
    ### Antes y después de la `response` { #before-and-after-the-response }
    
    Puedes añadir código que se ejecute con la `request`, antes de que cualquier *path operation* la reciba.
    
    Y también después de que se genere la `response`, antes de devolverla.
    
    Por ejemplo, podrías añadir un custom header `X-Process-Time` que contenga el tiempo en segundos que tomó procesar la request y generar una response:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt

        val response = call.execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.handshake!!.cipherSuite).isNotNull()
        assertThat(response.handshake!!.tlsVersion).isNotNull()
        assertThat(response.handshake!!.localCertificates).isEmpty()
        assertThat(response.handshake!!.localPrincipal).isNull()
        assertThat(response.handshake!!.peerCertificates).isEmpty()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComBlankResponseTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the SmbComBlankResponse class.
     */
    class SmbComBlankResponseTest {
    
        private SmbComBlankResponse response;
        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            response = new SmbComBlankResponse();
            buffer = new byte[100];
        }
    
        /**
         * Test for the writeParameterWordsWireFormat method.
         * It should always return 0.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java

            String response = checkPostMethod(requestBody, ITEM_ENDPOINT_SUFFIX).asString();
    
            // Test: access admin api using a new token
            String id = JsonPath.from(response).get("response.id");
            response = checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).asString();
            String token = JsonPath.from(response).get("response.setting.token");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jun 12 02:18:38 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/SmbNegotiation.java

         *
         * @param request the negotiation request
         * @param response the negotiation response
         * @param negoReqBuffer the raw request buffer
         * @param negoRespBuffer the raw response buffer
         *
         */
        public SmbNegotiation(final SmbNegotiationRequest request, final SmbNegotiationResponse response, final byte[] negoReqBuffer,
                final byte[] negoRespBuffer) {
            this.request = request;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top