Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Clulow (0.17 sec)

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

        server.enqueue(
          MockResponse.Builder()
            .addHeader("Allow: GET, HEAD")
            .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS))
            .addHeader("Cache-Control: max-age=0")
            .body("A")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .addHeader("Allow: GET, HEAD, PUT")
            .code(HttpURLConnection.HTTP_NOT_MODIFIED)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  2. docs/features/https.md

    By default, OkHttp will attempt a `MODERN_TLS` connection.  However by configuring the client connectionSpecs you can allow a fall back to `COMPATIBLE_TLS` connection if the modern configuration fails.
    
    ```java
    OkHttpClient client = new OkHttpClient.Builder()
        .connectionSpecs(Arrays.asList(ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS))
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

      }
    
      private fun splitDomain(domain: String): List<String> {
        val domainLabels = domain.split('.')
    
        if (domainLabels.last() == "") {
          // allow for domain name trailing dot
          return domainLabels.dropLast(1)
        }
    
        return domainLabels
      }
    
      private fun findMatchingRule(domainLabels: List<String>): List<String> {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        }
    
        if (mostRecentTrimFailed || mostRecentRebuildFailed) {
          // The OS has become our enemy! If the trim job failed, it means we are storing more data than
          // requested by the user. Do not allow edits so we do not go over that limit any further. If
          // the journal rebuild failed, the journal writer will not be active, meaning we will not be
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  5. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

            // 2001:0db8:85a3:0000:0000:8a2e:0370:7334
            // 2001:db8:85a3::8a2e:370:7334
            // ::1
            hostname = "[$hostname]"
          }
    
          val localPort = socket.localPort
          // Allow null in failure case to allow for testing bad requests
          this.requestUrl = "$scheme://$hostname:$localPort$path".toHttpUrlOrNull()
        } else {
          this.requestUrl = null
          this.method = null
          this.path = null
        }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (2)
  6. okhttp/src/main/kotlin/okhttp3/Protocol.kt

       * provides support.
       */
      QUIC("quic"),
    
      /**
       * HTTP/3 is the third and upcoming major version of the Hypertext Transfer Protocol used to
       * exchange information. HTTP/3 runs over QUIC, which is published as RFC 9000.
       *
       * HTTP/3 is not natively supported by OkHttp, but provided to allow a theoretical interceptor
       * that provides support.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 04:17:33 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

          Header("accept-encoding", "gzip, deflate"),
          Header("accept-language", ""),
          Header("accept-ranges", ""),
          Header("accept", ""),
          Header("access-control-allow-origin", ""),
          Header("age", ""),
          Header("allow", ""),
          Header("authorization", ""),
          Header("cache-control", ""),
          Header("content-disposition", ""),
          Header("content-encoding", ""),
    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 (1)
  8. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    ketrzyn.pl
    klodzko.pl
    kobierzyce.pl
    kolobrzeg.pl
    konin.pl
    konskowola.pl
    kutno.pl
    lapy.pl
    lebork.pl
    legnica.pl
    lezajsk.pl
    limanowa.pl
    lomza.pl
    lowicz.pl
    lubin.pl
    lukow.pl
    malbork.pl
    malopolska.pl
    mazowsze.pl
    mazury.pl
    mielec.pl
    mielno.pl
    mragowo.pl
    naklo.pl
    nowaruda.pl
    nysa.pl
    olawa.pl
    olecko.pl
    olkusz.pl
    olsztyn.pl
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  9. native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt

        // Hanging.
        "okhttp3.CookiesTest",
        // Hanging.
        "okhttp3.WholeOperationTimeoutTest",
      )
    
    /**
     * Run periodically to refresh the known set of working tests.
     *
     * TODO use filtering to allow skipping acceptable problem tests
     */
    fun main() {
      val knownTestFile = File("native-image-tests/src/main/resources/testlist.txt")
      val testSelector = DiscoverySelectors.selectPackage("okhttp3")
      val testClasses =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        // Cause the cache trim job to fail.
        filesystem.setFaultyDelete(cacheDir / "a.0", true)
        taskFaker.runNextTask()
    
        // Confirm we still allow snapshot reads after a trim failure.
        assertValue("a", "aa", "aa")
        assertValue("b", "bb", "bbb")
    
        // Allow the test to clean up.
        filesystem.setFaultyDelete(cacheDir / "a.0", false)
      }
    
      @ParameterizedTest
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
Back to top