For that kind of thing, I prefer curried `fun`s th...
# http4k
n
For that kind of thing, I prefer curried `fun`s than blocks. Like:
Copy code
fun myFilter(downstream: HttpHandler) = 
    fun(request: Request) = 
        downstream(request).plusHeader("X-MyFilter", "true")