- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for wrongMessageDelimiter (0.08 sec)
-
okhttp/src/test/java/okhttp3/internal/http/StatusLineTest.kt
assertInvalid("HTTP/1.") assertInvalid("HTTP/1.1") assertInvalid("HTTP/1.1 ") assertInvalid("HTTP/1.1 2") assertInvalid("HTTP/1.1 20") } @Test fun wrongMessageDelimiter() { assertInvalid("HTTP/1.1 200_") } private fun assertInvalid(statusLine: String) { assertFailsWith<ProtocolException> { parse(statusLine) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0)