you say that you aren't sure if it's caused by Cloudflare or not. why not just disable proxying and
you say that you aren't sure if it's caused by Cloudflare or not. why not just disable proxying and see if the issue still persists?






const res = await fetch(`/api/something`, { method: "POST" });
const stream = res.body?.getReader();
while (true) {
if (!stream) {
// break
}
const { done, value } = await stream.read();
if (!value) break;
updateProgress(value);
if (done) break;
}