Fork me on GitHub
#ring-swagger
<
2018-05-12
>
ikitommi12:05:27

@plins right. :body is a Java Stream in Ring and once consumed, it's empty. I have seen middleware that copies the :body into two new streams, so that it can be reconsumed.

ikitommi12:05:55

Hoardes memory and slows things down as the streams are consumed multiple times. Not sure if there is a good way to do this.