Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for acceptOriginalServerMatchesSubdomain (0.22 sec)

  1. okhttp/src/test/java/okhttp3/CookiesTest.kt

        assertThat(request.headers["Cookie"]).isEqualTo("Bar=bar; Baz=baz")
        assertThat(request.headers["Cookie2"]).isNull()
        assertThat(request.headers["Quux"]).isNull()
      }
    
      @Test
      fun acceptOriginalServerMatchesSubdomain() {
        val cookieManager = CookieManager(null, CookiePolicy.ACCEPT_ORIGINAL_SERVER)
        val cookieJar = JavaNetCookieJar(cookieManager)
        val url = "https://www.squareup.com/".toHttpUrl()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top