- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for 15 (0.17 sec)
-
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
.assertLogMatch(Regex("""<-- 200 $url \(\d+ms\)""")) .assertLogEqual("content-length: 15") .assertLogEqual("") .assertLogEqual("Hello response!") .assertLogMatch(Regex("""<-- END HTTP \(\d+ms, 15-byte body\)""")) .assertNoMoreLogs() } @Test fun oneShotRequestsAreNotLogged() { url = server.url("/")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 37.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
@Throws(Exception::class) fun unexpectedExtensionParameter() { extensionNegotiationFailure("permessage-deflate; unknown_parameter=15") } @Test @Throws(Exception::class) fun clientMaxWindowBitsIncluded() { extensionNegotiationFailure("permessage-deflate; client_max_window_bits=15") } @Test @Throws(Exception::class) fun serverMaxWindowBitsTooLow() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 35.2K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
bytesIn.writeByte(0x44) // == Literal indexed == // Indexed name (idx = 4) -> :path bytesIn.writeByte(0x8c) // Literal value Huffman encoded 12 bytes // decodes to www.example.com which is length 15 bytesIn.write("f1e3c2e5f23a6ba0ab90f4ff".decodeHex()) hpackReader!!.readHeaders() assertThat(hpackReader!!.headerCount).isEqualTo(1) assertThat(hpackReader!!.dynamicTableByteCount).isEqualTo(52)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 38.2K bytes - Viewed (0) -
CHANGELOG.md
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:31:39 GMT 2024 - 21.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
year = matcher.group(1).toInt() } } pos = dateCharacterOffset(s, end + 1, limit, false) } // Convert two-digit years into four-digit years. 99 becomes 1999, 15 becomes 2015. if (year in 70..99) year += 1900 if (year in 0..69) year += 2000 // If any partial is omitted or out of range, return -1. The date is impossible. Note that leap
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:12:05 GMT 2024 - 23.1K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
addHeaderLenient(headers, header) val lowercaseHeader = header.lowercase(Locale.US) if (contentLength == -1L && lowercaseHeader.startsWith("content-length:")) { contentLength = header.substring(15).trim().toLong() } if (lowercaseHeader.startsWith("transfer-encoding:") && lowercaseHeader.substring(18).trim() == "chunked" ) { chunked = true } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 37.4K bytes - Viewed (0) -
docs/recipes.md
private val client = OkHttpClient() fun run() { val postBody = """ |Releases |-------- | | * _1.0_ May 6, 2013 | * _1.1_ June 15, 2013 | * _1.2_ August 11, 2013 |""".trimMargin() val request = Request.Builder() .url("https://api.github.com/markdown/raw")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Feb 18 08:52:22 GMT 2022 - 40.2K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt
import okio.GzipSink import okio.buffer import org.junit.jupiter.api.Test class Http2Test { val frame = Buffer() val reader = Http2Reader(frame, false) val expectedStreamId = 15 @Test fun unknownFrameTypeSkipped() { writeMedium(frame, 4) // has a 4-byte field frame.writeByte(99) // type 99 frame.writeByte(FLAG_NONE) frame.writeInt(expectedStreamId)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 28.1K bytes - Viewed (0)