Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hasBody (0.03 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

                hasBody = false // Ignore the body completely.
              }
    
              contentLength != -1L -> {
                hasBody = contentLength > 0L || HttpMethod.permitsRequestBody(request.method)
                requestBodySink.write(socket.source, contentLength)
              }
    
              chunked -> {
                chunkSizes = mutableListOf()
                hasBody = true
                while (true) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  2. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top