Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,340 for Response (0.06 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        server.enqueue(MockResponse(body = "response that will never be received"))
        val response = executeSynchronously("/")
        response.assertFailure(
          // JDK 11 response to the FAIL_HANDSHAKE:
          SSLException::class.java,
          // RI response to the FAIL_HANDSHAKE:
          SSLProtocolException::class.java,
          // Android's response to the FAIL_HANDSHAKE:
          SSLHandshakeException::class.java,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

     * It processes the response data based on the HTTP status code and configured transformer.
     * </p>
     *
     * <p>
     * It handles successful responses by transforming the data using a {@link Transformer}
     * and storing the result. It also handles "Not Modified" responses by creating an empty
     * result and storing it. Unsuccessful responses are logged for debugging purposes.
     * </p>
     *
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                // When & Then
                assertEquals(0, response.writeBytesWireFormat(dst, 0));
                assertEquals(0, response.writeBytesWireFormat(dst, 25));
                assertEquals(0, response.writeBytesWireFormat(dst, 50));
                assertEquals(0, response.writeBytesWireFormat(dst, 75));
                assertEquals(0, response.writeBytesWireFormat(dst, 99));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt

        val request = Request.Builder().url(server.url("/")).build()
    
        val response = client.newCall(request).execute()
    
        response.use {
          assertEquals(200, response.code)
          assertEquals(
            "CN=localhost",
            (response.handshake!!.peerCertificates.single() as X509Certificate).subjectDN.name,
          )
        }
      }
    
      private fun enableTls() {
        client =
          client
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt

        assertThat(response.handshake!!.cipherSuite.javaName).startsWith("SLT_")
      }
    
      @Test
      fun truncatedMetadataEntry() {
        val response =
          testCorruptingCache {
            corruptMetadata {
              // truncate metadata to 1/4 of length
              it.substring(0, it.length / 4)
            }
          }
    
        assertThat(response.body.string()).isEqualTo("ABC.2") // not cached
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. cmd/server_test.go

    	// execute the http request to fetch object.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// assert the http response status code.
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	var buffer bytes.Buffer
    	// extract the body of the response.
    	responseBody, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	// assert the http response body content.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
  7. docs/features/interceptors.md

            request.url(), chain.connection(), request.headers()));
    
        Response response = chain.proceed(request);
    
        long t2 = System.nanoTime();
        logger.info(String.format("Received response for %s in %.1fms%n%s",
            response.request().url(), (t2 - t1) / 1e6d, response.headers()));
    
        return response;
      }
    }
    ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

     *    libraries may customize this behavior.)
     *
     * A good way to signal a failure is with a synthetic HTTP response:
     *
     * ```kotlin
     *   @Throws(IOException::class)
     *   override fun intercept(chain: Interceptor.Chain): Response {
     *     if (myConfig.isInvalid()) {
     *       return Response.Builder()
     *           .request(chain.request())
     *           .protocol(Protocol.HTTP_1_1)
     *           .code(400)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.FileEntry;
    
    /**
     * Base class for SMB1 transaction response messages.
     * This abstract class handles the common functionality for all SMB1 transaction responses,
     * including parameter and data buffer management, multi-part responses, and enumeration support.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/additional-responses.md

    ///
    
    ## ๐ŸŒ€ โ„น
    
    ๐Ÿ‘† ๐Ÿ’ช ๐ŸŒ€ ๐Ÿ“จ โ„น โšช๏ธโžก๏ธ ๐Ÿ’— ๐Ÿฅ‰, ๐Ÿ”Œ `response_model`, `status_code`, &amp; `responses` ๐Ÿ”ข.
    
    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“ฃ `response_model`, โš™๏ธ ๐Ÿ”ข ๐Ÿ‘” ๐Ÿ“Ÿ `200` (โš–๏ธ ๐Ÿ›ƒ 1๏ธโƒฃ ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ’ช), &amp; โคด๏ธ ๐Ÿ“ฃ ๐ŸŒ– โ„น ๐Ÿ‘ˆ ๐ŸŽ ๐Ÿ“จ `responses`, ๐Ÿ”— ๐Ÿ—„ ๐Ÿ”—.
    
    **FastAPI** ๐Ÿ”œ ๐Ÿšง ๐ŸŒ– โ„น โšช๏ธโžก๏ธ `responses`, &amp; ๐ŸŒ€ โšซ๏ธ โฎ๏ธ ๐ŸŽป ๐Ÿ”— โšช๏ธโžก๏ธ ๐Ÿ‘† ๐Ÿท.
    
    ๐Ÿ–ผ, ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“ฃ ๐Ÿ“จ โฎ๏ธ ๐Ÿ‘” ๐Ÿ“Ÿ `404` ๐Ÿ‘ˆ โš™๏ธ Pydantic ๐Ÿท &amp; โœ”๏ธ ๐Ÿ›ƒ `description`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top