Osiris
Osiris
CDCloudflare Developers
Created by Osiris on 10/14/2024 in #general-help
Response Head not reaching
res.writeHead(HttpStatus.OK, {
'Content-Type': 'application/json; charset=utf-8',
})
res.writeHead(HttpStatus.OK, {
'Content-Type': 'application/json; charset=utf-8',
})
I am writing Head like above in a nodejs express application. This code sends response Head and moves to body. The body is sent in some time say 10s. The issue is Head is not reaching the browser in one of domains while working if I use another domain (staging vs production). Ideal behaviour is Head instantly reaches the browser and body is streamed gradually in chunks. Is there a missing setting leading to this or a way to verify whether Head is reaching cf
1 replies