arve
12/18/2018, 10:23 AMResponse.parse(...)
), the body is joined to a single line.
Looking at http4k source, i see this:
https://github.com/http4k/http4k/blob/master/http4k-core/src/main/kotlin/org/http4k/core/parser.kt#L31
private fun parseBody(bodyLines: List<String>): Body = Body(bodyLines.joinToString(""))
Is this a bug? Should it instead say private fun parseBody(bodyLines: List<String>): Body = Body(bodyLines.joinToString("\r\n"))
(or just \n
perhaps)?