Turns out that there is an attribute, buffer-response="false"
, on the forward-request
policy that allows to disable buffering of the response that I can confirm does the trick. This is currently undocumented though. We will work towards getting the doc update for this.
So, your forward-request
policy becomes
<backend>
<forward-request buffer-response="false" />
</backend>