Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for Optional (0.23 sec)

  1. docs/changelogs/changelog_3x.md

        and is only suitable for experimental use.
     *  New: MockWebServer now supports client authentication (mutual TLS). Call `requestClientAuth()`
        to permit an optional client certificate or `requireClientAuth()` to require one.
     *  New: `RecordedRequest.getHandshake()` returns the HTTPS handshake of a request sent to
        `MockWebServer`.
    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)
  2. okhttp/src/test/java/okhttp3/CookieTest.kt

        assertThat(cookie.matches("http://www.example.com".toHttpUrl())).isFalse()
        assertThat(cookie.matches("http://square.com".toHttpUrl())).isFalse()
      }
    
      /** Ignore an optional leading `.` in the domain.  */
      @Test fun domainMatchesIgnoresLeadingDot() {
        val cookie = parse(url, "a=b; domain=.example.com")
        assertThat(cookie!!.matches("http://example.com".toHttpUrl())).isTrue()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_2x.md

        agent.
     *  New: Guava-like API to create headers:
    
        ```java
        Headers headers = Headers.of(name1, value1, name2, value2, ...).
        ```
    
     *  New: Make the content-type header optional for request bodies.
     *  New: `Response.isSuccessful()` is a convenient API to check response codes.
     *  New: The response body can now be read outside of the callback. Response
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * count, and a blank line.
       *
       * Each of the subsequent lines in the file is a record of the state of a cache entry. Each line
       * contains space-separated values: a state, a key, and optional state-specific values.
       *
       *   o DIRTY lines track that an entry is actively being created or updated. Every successful
       *     DIRTY action should be followed by a CLEAN or REMOVE action. DIRTY lines without a matching
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  5. docs/contribute/code_of_conduct.md

    our best to right the wrong.
    
    Although this list cannot be exhaustive, we explicitly honor diversity in age, culture, ethnicity,
    gender identity or expression, language, national origin, political beliefs, profession, race,
    religion, sexual orientation, socioeconomic status, and technical ability. We will not tolerate
    discrimination based on any of the protected characteristics above, including participants with
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.C.8.txt

       202D; LEFT-TO-RIGHT OVERRIDE
       202E; RIGHT-TO-LEFT OVERRIDE
       206A; INHIBIT SYMMETRIC SWAPPING
       206B; ACTIVATE SYMMETRIC SWAPPING
       206C; INHIBIT ARABIC FORM SHAPING
       206D; ACTIVATE ARABIC FORM SHAPING
       206E; NATIONAL DIGIT SHAPES
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 501 bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/idn/StringprepTest.kt

        assertThat(stringPrep("\u0340")).isNull() // COMBINING GRAVE TONE MARK
        assertThat(stringPrep("\u200e")).isNull() // LEFT-TO-RIGHT MARK
        assertThat(stringPrep("\u206e")).isNull() // NATIONAL DIGIT SHAPES
        assertThat(stringPrep("\u206f")).isNull() // NOMINAL DIGIT SHAPES
      }
    
      @Test fun prohibitionTaggingCharacters() {
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

      /** Send a pong with the supplied [payload]. */
      @Throws(IOException::class)
      fun writePong(payload: ByteString) {
        writeControlFrame(OPCODE_CONTROL_PONG, payload)
      }
    
      /**
       * Send a close frame with optional code and reason.
       *
       * @param code Status code as defined by
       *     [Section 7.4 of RFC 6455](http://tools.ietf.org/html/rfc6455#section-7.4) or `0`.
       * @param reason Reason for shutting down or `null`.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

          result.add(Header(TARGET_PATH, RequestLine.requestPath(request.url)))
          val host = request.header("Host")
          if (host != null) {
            result.add(Header(TARGET_AUTHORITY, host)) // Optional.
          }
          result.add(Header(TARGET_SCHEME, request.url.scheme))
    
          for (i in 0 until headers.size) {
            // header names must be lowercase.
            val name = headers.name(i).lowercase(Locale.US)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // xn--mgbai9a5eva00b ("Pakistan", Urdu/Arabic, variant) : PK
    پاكستان
    
    // xn--ygbi2ammx ("Falasteen", Arabic) : PS
    // The Palestinian National Internet Naming Authority (PNINA)
    // http://www.pnina.ps
    فلسطين
    
    // xn--90a3ac ("srb", Cyrillic) : RS
    // https://www.rnids.rs/en/domains/national-domains
    срб
    пр.срб
    орг.срб
    обр.срб
    од.срб
    упр.срб
    ак.срб
    
    // xn--p1ai ("rf", Russian-Cyrillic) : RU
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
Back to top