Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 91 for Fontaine (0.24 sec)

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

       *
       * Note that this method may be called a second time for a single HTTP response if the response
       * includes a trailer. For this obscure HTTP feature, [cookies] contains only the trailer's
       * cookies.
       */
      fun saveFromResponse(
        url: HttpUrl,
        cookies: List<Cookie>,
      )
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

        val bodies: MutableSet<String?> = LinkedHashSet()
        bodies.add(firstResponse.body)
        bodies.add(secondResponse.body)
        assertThat(bodies).contains("abc")
        assertThat(bodies).contains("def")
      }
    
      @Test
      fun get_Async() {
        server.enqueue(
          MockResponse(
            headers = headersOf("Content-Type", "text/plain"),
            body = "abc",
          ),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.mockwebserver
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.isBetween
    import assertk.assertions.isCloseTo
    import assertk.assertions.isEqualTo
    import assertk.assertions.isGreaterThan
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

      /** True if the agreed upon extension parameters includes "server_no_context_takeover". */
      @JvmField val serverNoContextTakeover: Boolean = false,
      /**
       * True if the agreed upon extensions or parameters contained values unrecognized by OkHttp.
       * Typically this indicates that the client will need to close the web socket with code 1010.
       */
      @JvmField val unknownValues: Boolean = false,
    ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallHandshakeTest.kt

          platform.newSslSocketFactory(platform.platformTrustManager()).defaultCipherSuites
        val cipherSuites =
          ConnectionSpec.RESTRICTED_TLS.effectiveCipherSuites(platformDefaultCipherSuites)
    
        if (cipherSuites.contains(TLS_CHACHA20_POLY1305_SHA256.javaName)) {
          assertThat(cipherSuites).containsExactly(
            TLS_AES_128_GCM_SHA256.javaName,
            TLS_AES_256_GCM_SHA384.javaName,
            TLS_CHACHA20_POLY1305_SHA256.javaName,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

         */
        fun clearHeaders() =
          apply {
            headers = Headers.Builder()
          }
    
        /**
         * Adds [header] as an HTTP header. For well-formed HTTP [header] should contain a name followed
         * by a colon and a value.
         */
        fun addHeader(header: String) =
          apply {
            headers.add(header)
          }
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  7. okhttp/src/main/kotlin/okhttp3/Headers.kt

     * responsibility to detect and split on commas if their field permits multiple values. This
     * simplifies use of single-valued fields whose values routinely contain commas, such as cookies or
     * dates.
     *
     * This class trims whitespace from values. It never returns values with leading or trailing
     * whitespace.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Response.kt

            else -> return emptyList()
          },
        )
      }
    
      /**
       * Returns the cache control directives for this response. This is never null, even if this
       * response contains no `Cache-Control` header.
       */
      @get:JvmName("cacheControl")
      val cacheControl: CacheControl
        get() = commonCacheControl
    
      @JvmName("-deprecated_cacheControl")
      @Deprecated(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  9. container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt

    import org.mockserver.socket.tls.KeyStoreFactory
    import org.testcontainers.containers.MockServerContainer
    import org.testcontainers.junit.jupiter.Container
    import org.testcontainers.junit.jupiter.Testcontainers
    import org.testcontainers.utility.DockerImageName
    
    @Testcontainers
    class BasicMockServerTest {
      @Container
      val mockServer: MockServerContainer = MockServerContainer(MOCKSERVER_IMAGE)
    
      val client =
        OkHttpClient.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt

          if (first) {
            firstIsRandalcat = codePoint in randalcatSet
          } else if (firstIsRandalcat) {
            // 'If a string contains any RandALCat character, the string MUST NOT contain any LCat
            // character.'
            if (codePoint in lcatSet) return null
    
            // 'If a string contains any RandALCat character, a RandALCat character MUST be the last
            // character of the string.'
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top