Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for n_components (0.18 sec)

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

        assertThat(url.toString()).isEqualTo("http://host/?a=!$(),/:;?@[]\\^`{|}~")
        assertThat(url.queryParameter("a")).isEqualTo("!$(),/:;?@[]\\^`{|}~")
      }
    
      /**
       * When callers parse a URL with query components that aren't encoded, we shouldn't convert them
       * into a canonical form because doing so could be semantically different.
       */
      @Test
      fun queryCharactersNotReencodedWhenParsed() {
    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/main/kotlin/okhttp3/HttpUrl.kt

                alreadyEncoded = true,
                unicodeAllowed = true,
              )
          }
    
        /**
         * Re-encodes the components of this URL so that it satisfies (obsolete) RFC 2396, which is
         * particularly strict for certain components.
         */
        internal fun reencodeForUri() =
          apply {
            host = host?.replace(Regex("[\"<>^`{|}]"), "")
    
    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)
Back to top