Skip to content

Commit

Permalink
[streaming] Document and test that Transfer-Encoding is absent
Browse files Browse the repository at this point in the history
  • Loading branch information
igorw committed Jan 2, 2012
1 parent 83c23ca commit 7ae9348
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -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'));
}

Expand Down

0 comments on commit 7ae9348

Please sign in to comment.