Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for Hodges (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/Response.kt

      /** Returns the HTTP headers. */
      @get:JvmName("headers") val headers: Headers,
      /**
       * Returns a non-null value if this response was passed to [Callback.onResponse] or returned
       * from [Call.execute]. Response bodies must be [closed][ResponseBody] and may
       * be consumed only once.
       *
       * This always returns null on responses returned from [cacheResponse], [networkResponse],
       * and [priorResponse].
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

        val secondResponse = callback.await(request.url).assertSuccessful()
        val bodies: MutableSet<String?> = LinkedHashSet()
        bodies.add(firstResponse.body)
        bodies.add(secondResponse.body)
        assertThat(bodies).contains("abc")
        assertThat(bodies).contains("def")
      }
    
      @Test
      fun get_Async() {
        server.enqueue(
          MockResponse(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        return nextConnectionSpec(connectionSpecs, sslSocket)
          ?: throw UnknownServiceException(
            "Unable to find acceptable protocols." +
              " isFallback=$isTlsFallback," +
              " modes=$connectionSpecs," +
              " supported protocols=${sslSocket.enabledProtocols!!.contentToString()}",
          )
      }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_1x.md

     * Fix: Don't leak gzip streams on redirects.
     * Fix: Don't do DNS lookups on invalid hosts.
     * Fix: Exhaust the underlying stream when reading gzip streams.
     * Fix: Support the `PATCH` method.
     * Fix: Support request bodies on `DELETE` method.
     * Fix: Drop the `okhttp-protocols` module.
     * Internal: Replaced internal byte array buffers with pooled buffers ("OkBuffer").
    
    
    ## Version 1.3.0
    
    _2014-01-11_
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

        // [distinguished_name]
        // [req_extensions]
        // [x509_extensions]
        // subjectAltName=DNS:localhost.localdomain,DNS:localhost,IP:127.0.0.1
        //
        // $ openssl req -x509 -nodes -days 36500 -subj '/CN=localhost' -config ./cert.cnf \
        //     -newkey rsa:512 -out cert.pem
        val certificate =
          certificate(
            """
            -----BEGIN CERTIFICATE-----
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 40.3K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.C.5.txt

       D800-DFFF; [SURROGATE CODES]...
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 32 bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

        if the header is absent or its delay is 0 seconds.
     *  New: Allow request bodies for all HTTP methods except GET and HEAD.
     *  New: Automatic module name of `okhttp3` for use with the Java Platform
        Module System.
     *  New: Log gzipped bodies when `HttpLoggingInterceptor` is used as a network
        interceptor.
     *  New: `Protocol.QUIC` constant. This protocol is not supported but this
    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)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/HttpStatusCodes.kt

     * individuals on behalf of the Apache Software Foundation.  For more
     * information on the Apache Software Foundation, please see
     * <http://www.apache.org/>.
     */
    
    package okhttp3.internal.http
    
    // HTTP Status Codes not offered by HttpUrlConnection.
    //
    // https://datatracker.ietf.org/doc/html/rfc7231#page-47
    //
    // From https://github.com/apache/httpcomponents-core/blob/master/httpcore5/src/main/java/org/apache/hc/core5/http/HttpStatus.java
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  9. okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

          .addTrustedCertificate(heldCertificate.certificate)
          .build()
      }
    
      @Before
      fun init() {
        assumeTrue("Supported on API 29+", Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q)
    
        client =
          OkHttpClient.Builder()
            .dns(AsyncDns.toDns(AndroidAsyncDns.IPv4, AndroidAsyncDns.IPv6))
            .sslSocketFactory(localhost.sslSocketFactory(), localhost.trustManager)
            .build()
    
    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 (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

          // Server sent a 100-continue even though we did not request one. Try again to read the
          // actual response status.
          code == 100 -> true
    
          // Handle Processing (102) & Early Hints (103) and any new codes without failing
          // 100 and 101 are the exceptions with different meanings
          // But Early Hints not currently exposed
          code in (102 until 200) -> true
    
          else -> false
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.3K bytes
    - Viewed (1)
Back to top