- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for FGHIJ (0.01 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
response.body.close() } @ParameterizedTest @ArgumentsSource(ProtocolParamProvider::class) fun noDefaultContentLengthOnStreamingPost(protocol: Protocol) { setUp(protocol) val postBytes = "FGHIJ".toByteArray() server.enqueue(MockResponse(body = "ABCDE")) val call = client.newCall( Request( url = server.url("/foo"), body = object : RequestBody() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 73.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
val stream = connection.newStream(headerEntries("b", "banana"), true) // two outgoing writes val sink = stream.sink sink.write(Buffer().writeUtf8("abcde"), 5) sink.write(Buffer().writeUtf8("fghij"), 5) sink.close() // verify the peer received one incoming frame assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_HEADERS) val data = peer.takeFrame()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 75.5K bytes - Viewed (0)