Skip to content

Commit

Permalink
[HttpKernel] fixed another test where an explicit cache-control heade…
Browse files Browse the repository at this point in the history
…r is necessary
  • Loading branch information
kriswallsmith committed Feb 22, 2011
1 parent 3e131f5 commit fb00539
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -693,6 +693,7 @@ public function testReplacesCachedResponsesWhenValidationResultsInNon304Response
$this->setNextResponse(200, array(), 'Hello World', function ($request, $response) use ($time, &$count)
{
$response->headers->set('Last-Modified', $time->format(DATE_RFC2822));
$response->headers->set('Cache-Control', 'public');
switch (++$count) {
case 1:
$response->setContent('first response');
Expand Down

0 comments on commit fb00539

Please sign in to comment.