Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for leal (0.17 sec)

  1. mockwebserver/README.md

    then verify that requests were made as expected.
    
    Because it exercises your full HTTP stack, you can be confident that you're
    testing everything. You can even copy & paste HTTP responses from your real web
    server to create representative test cases. Or test that your code survives in
    awkward-to-reproduce situations like 500 errors or slow-loading responses.
    
    
    ### Example
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 5K bytes
    - Viewed (1)
  2. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

            .certificateAuthority(0)
            .rsa2048()
            .build()
        val leaf =
          HeldCertificate.Builder()
            .certificateAuthority(0)
            .ecdsa256()
            .signedBy(root)
            .build()
        assertThat(root.certificate.sigAlgName).isEqualTo("SHA256WITHRSA", ignoreCase = true)
        assertThat(leaf.certificate.sigAlgName).isEqualTo("SHA256WITHRSA", ignoreCase = true)
      }
    
      @Test
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

    internal data class BasicConstraints(
      /** True if this certificate can be used as a Certificate Authority (CA). */
      val ca: Boolean,
      /** The maximum number of intermediate CAs between this and leaf certificates. */
      val maxIntermediateCas: Long?,
    )
    
    /** A private key. Note that this class doesn't support attributes or an embedded public key. */
    internal data class PrivateKeyInfo(
      // v1(0), v2(1).
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        //
        // HttpUrl is quite lenient with what characters it accepts. In particular, characters like '{'
        // and '"' are permitted but unlikely to occur in real-world URLs. Unfortunately we can't just
        // lock it down due to URL templating: "http://{env}.{dc}.example.com".
        UrlComponentEncodingTester.newInstance()
          .nonPrintableAscii(Encoding.FORBIDDEN)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/README.md

      @Override public void log(String message) {
        Timber.tag("OkHttp").d(message);
      }
    });
    ```
    
    **Warning**: The logs generated by this interceptor when using the `HEADERS` or `BODY` levels have
    the potential to leak sensitive information such as "Authorization" or "Cookie" headers and the
    contents of request and response bodies. This data should only be logged in a controlled way or in
    a non-production environment.
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_2x.md

        client.networkInterceptors().add(loggingInterceptor);
        ```
    
        **Warning:** Avoid `Level.HEADERS` and `Level.BODY` in production because
        they could leak passwords and other authentication credentials to insecure
        logs.
    
     *  **WebSocket API now uses `RequestBody` and `ResponseBody` for messages.**
        This is a backwards-incompatible API change.
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  7. docs/features/interceptors.md

    If you're in a tricky situation and prepared to deal with the consequences, rewriting response headers is a powerful way to work around problems. For example, you can fix a server's misconfigured `Cache-Control` response header to enable better response caching:
    
    ```java
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  8. CHANGELOG.md

        for a graceful shutdown before it performs an abrupt shutdown.
    
     *  Fix: Honor `RequestBody.isOneShot()` in `MultipartBody`
    
     *  Fix in `okhttp-coroutines`: Don't leak response bodies in `executeAsync()`. We had a bug where
        we didn't call `Response.close()` if the coroutine was canceled before its response was
        returned.
    
     *  Upgrade: [Okio 3.9.0][okio_3_9_0].
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt

    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    /**
     * Integration test to confirm that [TaskRunner] works with a real backend. Business logic is all
     * exercised by [TaskRunnerTest].
     *
     * This test is doing real sleeping with tolerances of 250 ms. Hopefully that's enough for even the
     * busiest of CI servers.
     */
    @Tag("Slowish")
    class TaskRunnerRealBackendTest {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  10. mkdocs.yml

      palette:
        - media: "(prefers-color-scheme: light)"
          scheme: default
          primary: teal
          accent: blue
          toggle:
            icon: octicons/sun-24
            name: "Switch to Dark Mode"
        - media: "(prefers-color-scheme: dark)"
          scheme: slate
          primary: teal
          accent: blue
          toggle:
            icon: octicons/moon-24
            name: "Switch to Light Mode"
      features:
    Others
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Nov 20 15:26:12 GMT 2023
    - 3.8K bytes
    - Viewed (0)
Back to top