Streaming responses from deployment

Bug description:
I have a simple webservice built with Express that stream responses to the client using res.write() This works just fine using the endpoint associated with my replit. But when I deploy the app using the Deployment feature, the new endpoint won’t stream the results, they will appear once the request is completed. Any ideas?

Expected vs Current Behavior:
Expected: stream the results
Current Behavior: results appear at the end

Steps to reproduce:
curl --no-buffer → WOKRS, my replit
curl --no-buffer → DOESN"T WORK, deployment

Bug appears at this link:

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Replit Profile: