- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for assertRequestHeader (0.11 sec)
-
okhttp/src/test/java/okhttp3/CallTest.kt
cacheHit.assertCode(200) .assertBody("A") .assertHeader("Donut", "b") .assertRequestUrl(server.url("/")) .assertRequestHeader("Accept-Language", "en-US") .assertRequestHeader("Accept-Charset", "UTF-8") .assertRequestHeader("If-None-Match") // No If-None-Match on the user's request. .assertSentRequestAtMillis(request2SentAt, request2ReceivedAt)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RecordedResponse.kt
apply { assertThat(request.url).isEqualTo(url) } fun assertRequestMethod(method: String) = apply { assertThat(request.method).isEqualTo(method) } fun assertRequestHeader( name: String, vararg values: String, ) = apply { assertThat(request.headers(name)).containsExactly(*values) } fun assertCode(expectedCode: Int) = apply {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.3K bytes - Viewed (0)