Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for isn (0.13 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

       * other adapters on this SEQUENCE to interrogate.
       */
      fun asTypeHint(): BasicDerAdapter<T> = copy(typeHint = true)
    
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + name.hashCode()
        result = 31 * result + tagClass
        result = 31 * result + tag.toInt()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

        fun noCache() = commonNoCache()
    
        /** Don't store the server's response in any cache. */
        fun noStore() = commonNoStore()
    
        /**
         * Only accept the response if it is in the cache. If the response isn't cached, a `504
         * Unsatisfiable Request` response will be returned.
         */
        fun onlyIfCached() = commonOnlyIfCached()
    
        /** Don't accept a transformed response. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/question.md

    title: "\U0001F649"
    labels: ''
    assignees: ''
    
    ---
    
    🛑 𝙎𝙏𝙊𝙋
    
    This issue tracker is not the place for questions!
    
    If you want to ask how to do something, or to understand why something isn't working the way you expect it to, use Stack Overflow. https://stackoverflow.com/questions/tagged/okhttp
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 30 18:42:51 GMT 2018
    - 406 bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      }
    
      @Test
      fun serverShutdownOutput() {
        testServerClosesOutput(ShutdownOutputAtEnd)
      }
    
      @Test
      fun invalidHost() {
        // Note that 1234.1.1.1 is an invalid host in a URI, but URL isn't as strict.
        client =
          client.newBuilder()
            .dns(FakeDns())
            .build()
        assertFailsWith<UnknownHostException> {
          getResponse(
            Request.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  5. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

            String href = element.attr("href");
            HttpUrl link = response.request().url().resolve(href);
            if (link == null) continue; // URL is either invalid or its scheme isn't http/https.
            queue.add(link.newBuilder().fragment(null).build());
          }
        }
      }
    
      public static void main(String[] args) throws IOException {
        if (args.length != 2) {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_1x.md

     * Fix: Cache SPDY responses even if the response body is closed prematurely.
     * Fix: Use strict timeouts when aborting a download.
     * Fix: Support Shoutcast HTTP responses like `ICY 200 OK`.
     * Fix: Don't unzip if there isn't a response body.
     * 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.
    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)
  7. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

            }
          }
    
          // We've reached the end of the chain. If any cert in the chain is trusted, we're done.
          if (foundTrustedCertificate) {
            return result
          }
    
          // The last link isn't trusted. Fail.
          throw SSLPeerUnverifiedException(
            "Failed to find a trusted cert that signed $toVerify",
          )
        }
    
        throw SSLPeerUnverifiedException("Certificate chain too long: $result")
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  8. docs/works_with_okhttp.md

     * [okhttp-staleiferror-interceptor](https://github.com/PeelTechnologies/okhttp-staleiferror-interceptor/): serve stale responses when the server isn’t reachable.
     * [okhttp-stats](https://github.com/flipkart-incubator/okhttp-stats): Get stats like average network speed.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Jun 08 18:15:23 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cookie.kt

                  // Ignore this attribute, it isn't recognizable as a date.
                }
              }
              attributeName.equals("max-age", ignoreCase = true) -> {
                try {
                  deltaSeconds = parseMaxAge(attributeValue)
                  persistent = true
                } catch (_: NumberFormatException) {
                  // Ignore this attribute, it isn't recognizable as a max age.
                }
              }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerHeader.kt

      var length: Long,
    ) {
      val isEndOfData: Boolean
        get() = tagClass == TAG_CLASS_UNIVERSAL && tag == TAG_END_OF_CONTENTS
    
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + tagClass
        result = 31 * result + tag.toInt()
        result = 31 * result + (if (constructed) 0 else 1)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.3K bytes
    - Viewed (0)
Back to top