I someone else using the format application/x-ndjson with http4k? It is a format (http://ndjson.org/) where each line is a valid json, separated by a new line but the total body won't be a valid json. This is intended for streaming purposes. We need to support this, and in case I can create a PR for it.
05/10/2023, 9:57 AM
interestingly, this style of response is being used in the new http4k-connect-kafka-rest proxy module... although it's not that content type.
I think what would be interesting would be to see how it plays with inputstreams so we can attach it to a generator
05/10/2023, 9:58 AM
also happy to take suggestions on how better to handle this in http4k streams.