- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for Skip (0.13 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt
// Append new upstream bytes into the buffer. Trim it to its max size. buffer.write(upstreamBuffer, upstreamBytesRead) if (buffer.size > bufferMaxSize) { buffer.skip(buffer.size - bufferMaxSize) } // Now that the file and buffer have bytes, adjust upstreamPos. ******@****.***amPos += upstreamBytesRead } return bytesRead
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartReaderTest.kt
) assertFailsWith<ProtocolException> { parts.nextPart() }.also { expected -> assertThat(expected).hasMessage("expected at least 1 part") } } @Test fun `skip preamble`() { val multipart = """ |this is the preamble! it is invisible to application code | |--simple boundary | |abcd |--simple boundary--
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 13.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
* 6. Read from and close that source. * * Exchanges that do not have a request body may skip creating and closing the request body. * Exchanges that do not have a response body can call * [newFixedLengthSource(0)][newFixedLengthSource] and may skip reading and closing that source. */ class Http1ExchangeCodec( /** The client that configures this stream. May be null for HTTPS proxy tunnels. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 16.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt
TYPE_PING -> readPing(handler, length, flags, streamId) TYPE_GOAWAY -> readGoAway(handler, length, flags, streamId) TYPE_WINDOW_UPDATE -> readWindowUpdate(handler, length, flags, streamId) else -> source.skip(length.toLong()) // Implementations MUST discard frames of unknown types. } return true } @Throws(IOException::class) private fun readHeaders( handler: Handler, length: Int,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 19.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
* doesn't cache partial responses. * * ## Force a Network Response * * In some situations, such as after a user clicks a 'refresh' button, it may be necessary to skip * the cache, and fetch data directly from the server. To force a full refresh, add the `no-cache` * directive: * * ```java * Request request = new Request.Builder()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 26.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
testPunycode(codePointString, component) continue } testEncodeAndDecode(codePoint, codePointString, component) if (encoding == Encoding.SKIP) continue testParseOriginal(codePoint, codePointString, encoding, component) testParseAlreadyEncoded(codePoint, encoding, component) val platform = urlComponentEncodingTesterJvmPlatform(component)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 12.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt
if (flowControlError) { source.skip(remainingByteCount) closeLater(ErrorCode.FLOW_CONTROL_ERROR) return } // Discard data received after the stream is finished. It's probably a benign race. if (finished) { source.skip(remainingByteCount) return }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 23.2K bytes - Viewed (1) -
CHANGELOG.md
[RFC 8305][rfc_8305]. Disable with `OkHttpClient.Builder.fastFallback(false)`. * Fix: Don't log response bodies for server-sent events. * Fix: Skip early hints (status code 103) responses. * Fix: Don't log sensitive headers in `Request.toString()`. * Fix: Don't crash when the dispatcher's `ExecutorService` is shutdown with many calls still enqueued.
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) -
docs/changelogs/changelog_2x.md
* New: Update to h2-14 and hpack-9. * New: OkHttp includes a user-agent by default, like `okhttp/2.1.0-RC1`. * Fix: Handle response code `308 Permanent Redirect`. * Fix: Don't skip the callback if a call is canceled. * Fix: Permit hostnames with underscores. * Fix: Permit overriding the content-type in `OkApacheClient`. * Fix: Use the socket factory for direct connections.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt
} val dataStream = getStream(streamId) if (dataStream == null) { writeSynResetLater(streamId, ErrorCode.PROTOCOL_ERROR) updateConnectionFlowControl(length.toLong()) source.skip(length.toLong()) return } dataStream.receiveData(source, length) if (inFinished) { dataStream.receiveHeaders(EMPTY_HEADERS, true) } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 32.6K bytes - Viewed (0)