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 https://brainner-runner.guillegette.repl.co/stream --no-buffer
→ WOKRS, my replit
curl https://brainner.replit.app/stream --no-buffer
→ DOESN"T WORK, deployment
Bug appears at this link: https://brainner-runner.guillegette.repl.co/stream
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/112.0.0.0 Safari/537.36
Replit Profile: https://replit.com/@guillegette