Chunked HTTP response support

Do Cloudflare workers/containers support when the container returns Transfer-Encoding: Chunked ?
1 Reply
delivery
deliveryOP3mo ago
They don't seem to be passing it through to the client
app.get("/convert", async (c) => {
const container = getContainer(c.env.MY_CONTAINER);
c.header('Content-Encoding', 'Identity');
c.header('Cache-Control', 'no-transform');
return await container.fetch(c.req.raw);
});
app.get("/convert", async (c) => {
const container = getContainer(c.env.MY_CONTAINER);
c.header('Content-Encoding', 'Identity');
c.header('Cache-Control', 'no-transform');
return await container.fetch(c.req.raw);
});
container.fetch(c.req.raw) is returning a chunked HTTP response, but this doesn't seem to get forwarded back to the client properly Cloudflare just returns a single HTTP resposne

Did you find this page helpful?