I've encountered a problem with empty chunked responses being corrupted if encodeResponse is used (directly or via another route). The problem is caused by gzip headers not being flushed by GzipCompressor if there are no chunks in a stream, since it leads to following steps (in pseudo-kinda-scala-looking-code) being executed by encodeResponse route:
chunked responseとは。。。