diff --git a/tests/Symfony/Tests/Component/HttpFoundation/StreamedResponseTest.php b/tests/Symfony/Tests/Component/HttpFoundation/StreamedResponseTest.php index 389e775f97a6..e58e844eec44 100644 --- a/tests/Symfony/Tests/Component/HttpFoundation/StreamedResponseTest.php +++ b/tests/Symfony/Tests/Component/HttpFoundation/StreamedResponseTest.php @@ -33,6 +33,7 @@ public function testPrepareWith11Protocol() $response->prepare($request); $this->assertEquals('1.1', $response->getProtocolVersion()); + $this->assertNotEquals('chunked', $response->headers->get('Transfer-Encoding'), 'Apache assumes responses with a Transfer-Encoding header set to chunked to already be encoded.'); $this->assertEquals('no-cache, private', $response->headers->get('Cache-Control')); }