- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for hasBody (0.06 sec)
-
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
// Ignore the body completely. } contentLength != -1L -> { hasBody = contentLength > 0L requestBodySink.write(source, contentLength) } chunked -> { hasBody = true while (true) { val chunkSize = source.readUtf8LineStrict().trim().toInt(16) if (chunkSize == 0) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 37.4K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
_2019-07-10_ * Fix: Tolerate null-hostile lists in public API. Lists created with `List.of(...)` don't like it when you call `contains(null)` on them! * Fix: Retain binary-compatibility in `okhttp3.internal.HttpHeaders.hasBody()`. Some unscrupulous coders call this and we don't want their users to suffer. ## Version 4.0.0 _2019-06-26_
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0)