- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for hasBody (0.12 sec)
-
okhttp/src/test/java/okhttp3/PublicInternalApiTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
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) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt
} return false } @Deprecated( message = "No longer supported", level = DeprecationLevel.ERROR, replaceWith = ReplaceWith(expression = "response.promisesBody()"), ) fun hasBody(response: Response): Boolean { return response.promisesBody()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.2K 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)