We are trying to activate the streaming on some REST apis. We want to be able to use some security inbound which requires to inspect the message and outbound, we want to stream the response.
It looks likes as soon as we inspect the request, the streaming for the response is not possible. The response is loaded completely in memory. In other words, as soon as we read a part of the request, the response becomes un-streamable.
Is this the expected behavior for the gateway?