Question: I would like to use http4k to stream a long response. I plan to use `Content-type: multipart/x-mixed-replace` so I push data to the client quite endlessly. In http4k, we have `typealias HttpHandler = (Request) -> Response`. But my handler cannot return a response because it is not a limited document that I want to return but an endless stream. Is this means that I should use something else for what I want?

Answer: 
If you're pulling from another HTTP source, you can use the streaming body mode on one of the various HTTP client modules (Apache/OkHttp/Jetty will work).

Alternatively if you're generating the content yourself or streaming from a database, you'll have to start a Thread and handle it that way. There's an example of how to do this in the source code in a test case that is used to prove the various clients can do streaming. 

<https://github.com/http4k/http4k/blob/master/http4k-core/src/test/kotlin/org/http4k/streaming/StreamingContract.kt>
Could be that websocket is what you need?

<https://www.http4k.org/blog/typesafe_websockets/>

So you can have an endless stream of event (e.g you need to push a feed).