Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Kass (0.17 sec)

  1. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

        }
      }
    
      override fun loadForRequest(url: HttpUrl): List<Cookie> {
        val cookieHeaders =
          try {
            // The RI passes all headers. We don't have 'em, so we don't pass 'em!
            cookieHandler.get(url.toUri(), emptyMap<String, List<String>>())
          } catch (e: IOException) {
            Platform.get().log("Loading cookies failed for " + url.resolve("/...")!!, WARN, e)
            return emptyList()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:10:43 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

      val data: String? by option("-d", "--data", help = "HTTP POST data")
    
      val headers: List<String>? by option("-H", "--header", help = "Custom header to pass to server").multiple()
    
      val userAgent: String by option("-A", "--user-agent", help = "User-Agent to send to server").default(NAME + "/" + versionString())
    
      val connectTimeout: Int by option(
        "--connect-timeout",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (1)
  3. docs/changelogs/changelog_4x.md

        encapsulation enabled.
     *  Fix: Strictly verify hostnames used with OkHttp's `HostnameVerifier`. Programs that make direct
        manual calls to `HostnameVerifier` could be defeated if the hostnames they pass in are not
        strictly ASCII. This issue is tracked as [CVE-2021-0341].
    
    
    ## Version 4.9.1
    
    _2021-01-30_
    
     *  Fix: Work around a crash in Android 10 and 11 that may be triggered when two threads
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  4. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    http:a:******@****.***  s:http u:a pass:b h:www.example.com p:/
    http:/a:******@****.***  s:http u:a pass:b h:www.example.com p:/
    http://a:******@****.***  s:http u:a pass:b h:www.example.com p:/
    http://@pple.com  s:http h:pple.com p:/
    http::******@****.***  s:http pass:b h:www.example.com p:/
    http:/:******@****.***  s:http pass:b h:www.example.com p:/
    http://:******@****.***  s:http pass:b h:www.example.com p:/
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/README.md

    logging.setLevel(Level.BASIC);
    OkHttpClient client = new OkHttpClient.Builder()
      .addInterceptor(logging)
      .build();
    ```
    
    You can change the log level at any time by calling `setLevel()`.
    
    To log to a custom location, pass a `Logger` instance to the constructor.
    ```java
    HttpLoggingInterceptor logging = new HttpLoggingInterceptor(new Logger() {
      @Override public void log(String message) {
        Timber.tag("OkHttp").d(message);
      }
    });
    ```
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_3x.md

        overrides the stored "Content-Encoding" header.
     *  Fix: Gracefully shut down the HTTP/2 connection before it exhausts the
        namespace of stream IDs (~536 million streams).
     *  Fix: Never pass a null `Route` to `Authenticator`. There was a bug where
        routes were omitted for eagerly-closed connections.
    
    ## Version 3.9.1
    
    _2017-11-18_
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  7. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        server.enqueue(MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_DURING_REQUEST_BODY))
        // Limit the size of the request body that the server holds in memory to an arbitrary
        // 3.5 MBytes so this test can pass on devices with little memory.
        server.bodyLimit = 7 * 512 * 1024
        val connection = server.url("/").toUrl().openConnection() as HttpURLConnection
        connection.setRequestMethod("POST")
        connection.setDoOutput(true)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/WebPlatformUrlTestData.kt

      fun expectParseFailure() = scheme.isEmpty()
    
      private operator fun set(
        name: String,
        value: String,
      ) {
        when (name) {
          "s" -> scheme = value
          "u" -> username = value
          "pass" -> password = value
          "h" -> host = value
          "port" -> port = value
          "p" -> path = value
          "q" -> query = value
          "f" -> fragment = value
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

       * This avoids sending potentially sensitive data like HTTP cookies to the proxy unencrypted.
       *
       * In order to support preemptive authentication we pass a fake "Auth Failed" response to the
       * authenticator. This gives the authenticator the option to customize the CONNECT request. It can
       * decline to do so by returning null, in which case OkHttp will use it as-is.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

      val windows: Boolean
        get() = System.getProperty("os.name", "?").startsWith("Windows")
    
      /**
       * Make assertions about the suppressed exceptions on this. Prefer this over making direct calls
       * so tests pass on GraalVM, where suppressed exceptions are silently discarded.
       *
       * https://github.com/oracle/graal/issues/3008
       */
      @JvmStatic
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top