- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for regularResponse (0.07 sec)
-
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
response.setHeaders(Headers.Builder().add("Cookie", "a=android").build()) assertThat(headersToList(response)).containsExactly("Cookie: a=android") } @Test fun regularResponse() { server.enqueue(MockResponse().setBody("hello world")) val url = server.url("/").toUrl() val connection = url.openConnection() as HttpURLConnection
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.9K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
.addHeader("Cookies: delicious") builder.headers(Headers.Builder().add("Cookie", "a=android").build()) assertThat(headersToList(builder)).containsExactly("Cookie: a=android") } @Test fun regularResponse() { server.enqueue(MockResponse.Builder().body("hello world").build()) val url = server.url("/").toUrl() val connection = url.openConnection() as HttpURLConnection
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0)