Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for 25 (0.12 sec)

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

            .scheme("http")
            .host("host")
            .fragment("=[]:;\"~|?#@^/$%*")
            .build()
        assertThat(url.toString()).isEqualTo("http://host/#=[]:;\"~|?#@^/$%25*")
        assertThat(url.toUri().toString())
          .isEqualTo("http://host/#=[]:;%22~%7C?%23@%5E/$%25*")
      }
    
      @Test
      fun toUriSpecialQueryCharacters() {
        val httpUrl = "http://host/?d=abc!@[]^`{}|\\".toHttpUrl()
        val uri = httpUrl.toUri()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

          24, 21, 22, 23, 23, 21, 21, 22, 21, 23, 22, 23, 23, 20, 22, 22, 22, 23, 22, 22, 23, 26,
          26, 20, 19, 22, 23, 22, 25, 26, 26, 26, 27, 27, 26, 24, 25, 19, 21, 26, 27, 27, 26, 27,
          24, 21, 21, 26, 26, 28, 27, 27, 27, 20, 24, 20, 21, 22, 21, 21, 23, 22, 22, 25, 25, 24,
          24, 26, 23, 26, 27, 26, 26, 27, 27, 27, 27, 27, 28, 27, 27, 27, 27, 27, 26,
        )
    
      private val root = Node()
    
      init {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

            .query("%")
            .fragment("%")
            .build()
        assertThat(url.toString()).isEqualTo("http://%25:%25@host/%25?%25#%25")
        assertThat(url.newBuilder().build().toString())
          .isEqualTo("http://%25:%25@host/%25?%25#%25")
        assertThat(url.resolve("").toString()).isEqualTo("http://%25:%25@host/%25?%25")
      }
    
      /**
    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)
  4. okhttp/src/test/java/okhttp3/FormBodyTest.kt

      @Test
      fun addEncoded() {
        val body =
          FormBody.Builder()
            .addEncoded("a+=& b", "c+=& d")
            .addEncoded("e+=& f", "g+=& h")
            .addEncoded("%25", "%25")
            .build()
        val expected = "a+%3D%26+b=c+%3D%26+d&e+%3D%26+f=g+%3D%26+h&%25=%25"
        val out = Buffer()
        body.writeTo(out)
        assertThat(out.readUtf8()).isEqualTo(expected)
      }
    
      @Test
      fun encodedPair() {
        val body =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

          if (!other.isSet(i)) continue
          set(i, other[i])
        }
      }
    
      companion object {
        /**
         * From the HTTP/2 specs, the default initial window size for all streams is 64 KiB. (Chrome 25
         * uses 10 MiB).
         */
        const val DEFAULT_INITIAL_WINDOW_SIZE = 65535
    
        /** HTTP/2: Size in bytes of the table used to decode the sender's header blocks. */
        const val HEADER_TABLE_SIZE = 1
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

     *
     * signed by intermediate certificate:
     *
     * Common Name: Entrust Certification Authority - L1M
     * Subject Alternative Names: none
     * Validity: 2014-12-15T15:25:03Z – 2030-10-15T15:55:03Z
     * Public Key: d081c13923c2b1d1ecf757dd55243691202248f7fcca520ab0ab3f33b5b08407f6df4e7ab0fb9822...
     * Signature: b487c784221a29c0a478ecf54f1bb484976f77eed4cf59afa843962f1d58dea6f3155b2ed9439c4c4...
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  7. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          ),
        )
        assertFailsWith<IOException> {
          getResponse(newRequest("/"))
        }.also { expected ->
          assertThat(expected.message).isEqualTo("HTTP 204 had non-zero Content-Length: 25")
        }
      }
    
      @Test
      fun singleByteReadIsSigned() {
        server.enqueue(
          MockResponse.Builder()
            .body(
              Buffer()
                .writeByte(-2)
    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)
  8. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertLogMatch(Regex("""Content-Length: \d+"""))
          .assertLogMatch(Regex(""))
          .assertLogEqual("Body with unknown charset")
          .assertLogMatch(Regex("""<-- END HTTP \(\d+ms, 25-byte body\)"""))
          .assertNoMoreLogs()
        applicationLogs
          .assertLogEqual("--> GET $url")
          .assertLogEqual("--> END GET")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)"""))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt

     *
     *  * Control characters and non-ASCII characters are percent-encoded.
     *
     *  * All other characters are copied without transformation.
     *
     * @param alreadyEncoded true to leave '%' as-is; false to convert it to '%25'.
     * @param strict true to encode '%' if it is not the prefix of a valid percent encoding.
     * @param plusIsSpace true to encode '+' as "%2B" if it is not already encoded.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  10. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    # 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
    http://%30%78%63%30%2e%30%32%35%30.01  s:http p:/ h:192.168.0.1
    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)
Back to top