Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 94 for Fontaine (0.14 sec)

  1. 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)
  2. docs/features/calls.md

    ## [Requests](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-request/)
    
    Each HTTP request contains a URL, a method (like `GET` or `POST`), and a list of headers. Requests may also contain a body: a data stream of a specific content type.
    
    ## [Responses](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-response/)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  3. container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt

    import org.mockserver.socket.tls.KeyStoreFactory
    import org.testcontainers.containers.MockServerContainer
    import org.testcontainers.junit.jupiter.Container
    import org.testcontainers.junit.jupiter.Testcontainers
    
    @Testcontainers
    class BasicProxyTest {
      @Container
      val mockServer: MockServerContainer =
        MockServerContainer(MOCKSERVER_IMAGE)
          .withNetworkAliases("mockserver")
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

        }
    
        assertThat(verifier.verify("foo.com", session)).isFalse()
        assertThat(verifier.verify("a.foo.com", session)).isFalse()
        // these checks test alternative subjects. The test data contains an
        // alternative subject starting with a japanese kanji character. This is
        // not supported by Android because the underlying implementation from
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 40.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/io/FaultyFileSystem.kt

      override fun atomicMove(
        source: Path,
        target: Path,
      ) {
        if (renameFaults.contains(source) || renameFaults.contains(target)) throw IOException("boom!")
        super.atomicMove(source, target)
      }
    
      @Throws(IOException::class)
      override fun delete(
        path: Path,
        mustExist: Boolean,
      ) {
        if (deleteFaults.contains(path)) throw IOException("boom!")
        super.delete(path, mustExist)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

      val end = indexOfLastNonAsciiWhitespace(start, endIndex)
      return substring(start, end)
    }
    
    /**
     * Returns the index of the first character in this string that contains a character in
     * [delimiters]. Returns endIndex if there is no such character.
     */
    fun String.delimiterOffset(
      delimiters: String,
      startIndex: Int = 0,
      endIndex: Int = length,
    ): Int {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/RequestLine.kt

            append(request.url)
          } else {
            append(requestPath(request.url))
          }
          append(" HTTP/1.1")
        }
    
      /**
       * Returns true if the request line should contain the full URL with host and port (like "GET
       * http://android.com/foo HTTP/1.1") or only the path (like "GET /foo HTTP/1.1").
       */
      private fun includeAuthorityInRequestLine(
        request: Request,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.isEqualTo
    import assertk.assertions.matches
    import java.io.EOFException
    import java.io.IOException
    import java.net.ProtocolException
    import java.util.Random
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

        expectedCipherSuites.add(CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256.javaName)
        expectedCipherSuites.add(CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName)
        if (listOf<String>(*socket.supportedCipherSuites).contains("TLS_FALLBACK_SCSV")) {
          expectedCipherSuites.add("TLS_FALLBACK_SCSV")
        }
        assertThat(socket.enabledCipherSuites)
          .containsExactly(*expectedCipherSuites.toTypedArray())
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

            .writeUtf8("--")
            .writeUtf8(boundary)
            .readByteString()
    
        /**
         * This delimiter typically precedes all subsequent parts. It may also precede the first part
         * if the body contains a preamble.
         */
        private val crlfDashDashBoundary =
          Buffer()
            .writeUtf8("\r\n--")
            .writeUtf8(boundary)
            .readByteString()
    
        private var partCount = 0
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.1K bytes
    - Viewed (0)
Back to top