Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Input (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

          }
        }
    
        private fun isDot(input: String): Boolean {
          return input == "." || input.equals("%2e", ignoreCase = true)
        }
    
        private fun isDotDot(input: String): Boolean {
          return input == ".." ||
            input.equals("%2e.", ignoreCase = true) ||
            input.equals(".%2e", ignoreCase = true) ||
            input.equals("%2e%2e", ignoreCase = true)
        }
    
        /**
    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)
  2. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

      }
    
      /**
       * When callers use `addEncodedQueryParameter()` we only encode what's strictly required. We
       * retain the encoded (or non-encoded) state of the input.
       */
      @Test
      fun queryCharactersNotReencodedWhenComposedWithAddEncoded() {
        val url =
          HttpUrl.Builder()
            .scheme("http")
            .host("host")
    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)
  3. docs/changelogs/changelog_3x.md

     *  New: `HttpUrl.get(String)` is an alternative to `HttpUrl.parse(String)` that throws an exception
        when the URL is malformed instead of returning null. Use this to avoid checking for null in
        situations where the input is known to be well-formed. We've also added `MediaType.get(String)`
        which is an exception-throwing alternative to `MediaType.parse(String)`.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
Back to top