Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for charter (0.4 sec)

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

        // The soft hyphen (­) should be ignored.
        assertThat(parse("http://AB\u00adCD").host).isEqualTo("abcd")
      }
    
      @Test
      fun hostnameMultipleCharacterMapping() {
        // Map the single character telephone symbol (℡) to the string "tel".
        assertThat(parse("http://\u2121").host).isEqualTo("tel")
      }
    
      @Test
      fun hostnameMappingLastMappedCodePoint() {
    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. docs/changelogs/changelog_3x.md

        This increases the likelihood that HTTP/2 connections will be shared.
     *  New: Authentication challenges and credentials now use a charset. Use this in
        your authenticator to support user names and passwords with non-ASCII
        characters.
     *  New: Accept a charset in `FormBody.Builder`. Previously form bodies were
        always UTF-8.
     *  New: Support the `immutable` cache-control directive.
    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)
  3. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

          characters@ for (i in pos + 1 until limit) {
            return when (input[i]) {
              // Scheme character. Keep going.
              in 'a'..'z', in 'A'..'Z', in '0'..'9', '+', '-', '.' -> continue@characters
    
              // Scheme prefix!
              ':' -> i
    
              // Non-scheme character before the first ':'.
              else -> -1
            }
          }
    
    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/http2/HttpOverHttp2Test.kt

        val call =
          client.newCall(
            Request(
              url = server.url("/foo"),
              body =
                object : RequestBody() {
                  override fun contentType(): MediaType = "text/plain; charset=utf-8".toMediaType()
    
                  override fun writeTo(sink: BufferedSink) {
                    sink.write(postBytes)
                  }
                },
            ),
          )
        val response = call.execute()
    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)
  5. okhttp/api/okhttp.api

    	public final fun -deprecated_type ()Ljava/lang/String;
    	public final fun charset ()Ljava/nio/charset/Charset;
    	public final fun charset (Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
    	public static synthetic fun charset$default (Lokhttp3/MediaType;Ljava/nio/charset/Charset;ILjava/lang/Object;)Ljava/nio/charset/Charset;
    	public fun equals (Ljava/lang/Object;)Z
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
Back to top