Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasBody (0.04 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)
Back to top