Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Kirsty (0.23 sec)

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

        assertThat(httpUrl.password).isEqualTo("")
        assertThat(httpUrl).isEqualTo(parse("http://foo%40bar@baz/path"))
      }
    
      /**
       * Given multiple ':' characters, the first one is the delimiter.
       */
      @Test
      fun authorityWithMultipleColons() {
        val httpUrl = parse("http://foo:pass1@bar:pass2@baz/path")
        assertThat(httpUrl.username).isEqualTo("foo")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

          // 1. Server reads request and dequeues first response
          // 2. Client cancels request
          // 3. Server tries to send response on the canceled stream
          // Otherwise, there is no guarantee for the sequence. For example, the server may use the
          // first mocked response to respond to the second request.
          val response = super.dispatch(request)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       */
      @get:JvmName("querySize")
      val querySize: Int
        get() {
          return if (queryNamesAndValues != null) queryNamesAndValues.size / 2 else 0
        }
    
      /**
       * The first query parameter named `name` decoded using UTF-8, or null if there is no such query
       * parameter.
       *
       * | URL                               | `queryParameter("a")` |
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      fun journalWithEditAndPublish(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        val creator = cache.edit("k1")!!
        assertJournalEquals("DIRTY k1") // DIRTY must always be flushed.
        creator.setString(0, "AB")
        creator.setString(1, "C")
        creator.commit()
        cache.close()
        assertJournalEquals("DIRTY k1", "CLEAN k1 2 1")
      }
    
      @ParameterizedTest
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

          apply {
            this.followRedirects = followRedirects
          }
    
        /**
         * Configure this client to allow protocol redirects from HTTPS to HTTP and from HTTP to HTTPS.
         * Redirects are still first restricted by [followRedirects].  Defaults to true.
         *
         * @param followProtocolRedirects whether to follow redirects between HTTPS and HTTP.
         */
        fun followSslRedirects(followProtocolRedirects: Boolean) =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
Back to top