API Gateway 11.2.0 users may observe a non-deterministic delay of 2–3 minutes when streaming large files (e.g., 60MB+) using the Route via HTTP(S) assertion through an HTTP proxy. While the routing assertion completes quickly in logs, the client does not receive the full stream for several minutes.
The new HttpClient in Gateway 11.2 may buffer response streams if the Content-Type header returned by the backend is generic (e.g., text/html) or does not match the binary nature of the payload. This causes the Gateway to wait for buffer saturation or a timeout before transmitting the stream to the client.
To resolve the streaming delay, ensure the backend service provides the correct Content-Type for binary data.
Content-Type: text/html).Content-Type: application/zip.Configure Message Streaming assertion is enabled for the response.