Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 71 for We (0.12 sec)

  1. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    http://\u4f60\u597d\u4f60\u597d  s:http p:/ h:xn--6qqa088eba
    
    # Invalid escaped characters should fail and the percents should be
    # escaped. https://www.w3.org/Bugs/Public/show_bug.cgi?id=24191
    http://%zz%66%a.com
    
    # If we get an invalid character that has been escaped.
    http://%25
    http://hello%00
    
    # Escaped numbers should be treated like IP addresses if they are.
    # No special handling for IPv4 or IPv4-like URLs
    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)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          field = protocolList
        }
    
      var started: Boolean = false
      private var shutdown: Boolean = false
    
      @Synchronized private fun before() {
        if (started) return // Don't call start() in case we're already shut down.
        try {
          start()
        } catch (e: IOException) {
          throw RuntimeException(e)
        }
      }
    
      fun toProxyAddress(): Proxy {
        before()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeByte(0x0d) // Literal value (len = 13)
        bytesIn.writeUtf8("custom-header")
    
        // Set to only support 110 bytes (enough for 2 headers).
        // Use a new Writer because we don't support change the dynamic table
        // size after Writer constructed.
        val writer = Hpack.Writer(110, false, bytesOut)
        writer.writeHeaders(headerBlock)
        assertThat(bytesOut).isEqualTo(bytesIn)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 38.2K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          const val LOOM_PROPERTY = "loom"
    
          /**
           * For whatever reason our BouncyCastle provider doesn't work with ECDSA keys. Just configure it
           * to use RSA-2048 instead.
           *
           * (We otherwise prefer ECDSA because it's faster.)
           */
          private val localhostHandshakeCertificatesWithRsa2048: HandshakeCertificates by lazy {
            val heldCertificate =
              HeldCertificate.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Cookie.kt

              expiresAt = MAX_DATE // Handle overflow & limit the date range.
            }
          }
    
          // If the domain is present, it must domain match. Otherwise we have a host-only cookie.
          val urlHost = url.host
          if (domain == null) {
            domain = urlHost
          } else if (!domainMatch(urlHost, domain)) {
    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)
  6. okhttp/src/test/java/okhttp3/CookieTest.kt

            .name("a")
            .value("b")
            .domain("example.com")
            .sameSite(sameSite)
            .build()
        assertThat(cookie.sameSite).isEqualTo(sameSite)
      }
    
      /** Note that we permit building a cookie that doesn’t follow the rules. */
      @Test fun builderSameSiteNoneDoesNotRequireSecure() {
        val cookieBuilder =
          Cookie.Builder()
            .name("a")
            .value("b")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       * invoked at any point in a call's life, including before [callStart] and after [callEnd].
       */
      open fun canceled(call: Call) {
      }
    
      /**
       * Invoked when a call fails due to cache rules.
       * For example, we're forbidden from using the network and the cache is insufficient
       */
      open fun satisfactionFailure(
        call: Call,
        response: Response,
      ) {
      }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  8. docs/changelogs/upgrading_to_okhttp_4.md

    same. We’ve chosen Kotlin because it gives us powerful new capabilities while integrating closely
    with Java.
    
    We spent a lot of time and energy on retaining strict compatibility with OkHttp 3.x. We’re even
    keeping the package name the same: `okhttp3`!
    
    There are three kinds of compatibility we’re tracking:
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

       *
       * We get plan0 and plan1 from the route planner.
       * We get plan2 as a follow-up to plan1, typically retry the same IP but different TLS.
       * We get plan3 as a retry of plan0, which was canceled when it lost the race.
       *
       * This test confirms that we prefer to do the TLS follow-up (plan2) before the TCP retry (plan3).
       * It also confirms we enforce the 250 ms delay in each race.
       */
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

              try {
                // Wait for request2 to guarantee we make 2 separate connections to the server.
                latch1.await()
              } catch (e: InterruptedException) {
                throw AssertionError(e)
              }
            }
    
            override fun connectionAcquired(
              call: Call,
              connection: Connection,
            ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top