Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HTTP_1_0 (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

      }
    
      @Test fun setProtocolsRejectsHttp10() {
        val builder = OkHttpClient.Builder()
        assertFailsWith<IllegalArgumentException> {
          builder.protocols(listOf(Protocol.HTTP_1_0, Protocol.HTTP_1_1))
        }
      }
    
      @Test fun certificatePinnerEquality() {
        val clientA = clientTestRule.newClient()
        val clientB = clientTestRule.newClient()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       * [priorResponse] objects, which have its own [priorResponse].
       */
      @get:JvmName("request") val request: Request,
      /** Returns the HTTP protocol, such as [Protocol.HTTP_1_1] or [Protocol.HTTP_1_0]. */
      @get:JvmName("protocol") val protocol: Protocol,
      /** Returns the HTTP status message. */
      @get:JvmName("message") val message: String,
      /** Returns the HTTP status code. */
      @get:JvmName("code") val code: Int,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top