Merge pull request #7768 from nextcloud/fix-streaming-responses-in-caddy

aio-interface: fix streaming responses in Caddy
This commit is contained in:
Simon L.
2026-03-18 18:00:38 +01:00
committed by GitHub

View File

@@ -403,6 +403,7 @@ readonly class DockerController {
->withBody(new NonBufferedBody())
->withHeader('Content-Type', 'text/html; charset=utf-8')
->withHeader('X-Accel-Buffering', 'no')
->withHeader('Content-Length', '-1')
->withHeader('Cache-Control', 'no-cache');
// Text written into this body is immediately sent to the client, without waiting for later content.