1.1 --- a/src/main/kotlin/de/uapcore/lightpit/RequestMapping.kt Sat Jul 22 15:07:23 2023 +0200 1.2 +++ b/src/main/kotlin/de/uapcore/lightpit/RequestMapping.kt Sat Jul 22 22:32:04 2023 +0200 1.3 @@ -173,6 +173,10 @@ 1.4 } 1.5 } 1.6 1.7 + val body: String by lazy { 1.8 + request.reader.lineSequence().joinToString("\n") 1.9 + } 1.10 + 1.11 private fun forward(jsp: String) { 1.12 request.getRequestDispatcher(jspPath(jsp)).forward(request, response) 1.13 }