Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 80 for html (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

            null, "" -> null
            else -> protocol
          }
        } catch (e: UnsupportedOperationException) {
          // https://docs.oracle.com/javase/9/docs/api/javax/net/ssl/SSLSocket.html#getApplicationProtocol--
          null
        }
      }
    
      @SuppressLint("NewApi")
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
    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)
  2. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

          localhostInsecureRequest()
        }
      }
    
      @Test
      fun testRequestWithSniRequirement() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://docs.fabric.io/android/changelog.html").build()
    
        val response = client.newCall(request).execute()
    
        response.use {
          assertEquals(200, response.code)
        }
      }
    
      @Test
      fun testConscryptRequest() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 27K bytes
    - Viewed (1)
  3. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

     * on what responses can be stored, and which requests can be satisfied by those stored responses.
     *
     * See [RFC 7234, 5.2](https://tools.ietf.org/html/rfc7234#section-5.2).
     */
    class CacheControl internal constructor(
      /**
       * In a response, this field's name "no-cache" is misleading. It doesn't prevent us from caching
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/InetAddressOrder.kt

     *
     * The current implementation does not address any of:
     *  - Async DNS split by IP class
     *  - Stateful handling of connectivity results
     *  - The prioritisation of addresses
     *
     * https://datatracker.ietf.org/doc/html/rfc8305#section-4
     */
    fun reorderForHappyEyeballs(addresses: List<InetAddress>): List<InetAddress> {
      if (addresses.size < 2) {
        return addresses
      }
    
      val (ipv6, ipv4) = addresses.partition { it is Inet6Address }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  5. docs/security/security_providers.md

    All providers support HTTP/1.1 and TLSv1.2.
    
    
    [BoringSSL]: https://boringssl.googlesource.com/boringssl/
    [Bouncy Castle]: https://www.bouncycastle.org/java.html
    [Conscrypt]: https://www.conscrypt.org/
    [Corretto]: https://github.com/corretto/amazon-corretto-crypto-provider
    [GraalVM]: https://www.graalvm.org/
    [OpenJDK]: https://openjdk.java.net/groups/security/
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/ErrorCode.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    /** http://tools.ietf.org/html/draft-ietf-httpbis-http2-17#section-7 */
    enum class ErrorCode constructor(val httpCode: Int) {
      /** Not an error!  */
      NO_ERROR(0),
    
      PROTOCOL_ERROR(1),
    
      INTERNAL_ERROR(2),
    
      FLOW_CONTROL_ERROR(3),
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http/StatusLineTest.kt

      }
    
      /**
       * This is not defined in the protocol but some servers won't add the leading empty space when the
       * message is empty. http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6.1
       */
      @Test
      fun emptyMessageAndNoLeadingSpace() {
        val version = 1
        val code = 503
        val statusLine = parse("HTTP/1.$version $code")
        assertThat(statusLine.message).isEqualTo("")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. docs/security/security.md

    ```
    
    The best way to verify artifacts is [automatically with Gradle][gradle_verification].
    
    
    [gradle_verification]: https://docs.gradle.org/current/userguide/dependency_verification.html#sec:signature-verification
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 27 10:19:17 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  9. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientTest.kt

    import org.junit.After
    import org.junit.Assert.assertEquals
    import org.junit.Test
    import org.junit.runner.RunWith
    
    /**
     * Apache HttpClient 5.x.
     *
     * https://hc.apache.org/httpcomponents-client-5.0.x/index.html
     */
    @RunWith(AndroidJUnit4::class)
    class ApacheHttpClientTest {
      private var httpClient = HttpClients.createDefault()
    
      @After fun tearDown() {
        httpClient.close()
      }
    
      @Test fun get() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Cache.kt

     * directives. It even offers convenient constants [CacheControl.FORCE_NETWORK] and
     * [CacheControl.FORCE_CACHE] that address the use cases above.
     *
     * [rfc_7234]: http://tools.ietf.org/html/rfc7234
     */
    class Cache internal constructor(
      directory: Path,
      maxSize: Long,
      fileSystem: FileSystem,
      taskRunner: TaskRunner,
    ) : Closeable, Flushable {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top