Updated Symfony HttpFoundation to 2.1.6.

This commit is contained in:
Taylor Otwell
2013-01-06 13:58:32 -06:00
parent f754e1fa55
commit cb567c5e4d
55 changed files with 1758 additions and 805 deletions

View File

@@ -72,21 +72,17 @@ class StreamedResponse extends Response
}
/**
* @{inheritdoc}
* {@inheritdoc}
*/
public function prepare(Request $request)
{
if ('1.0' != $request->server->get('SERVER_PROTOCOL')) {
$this->setProtocolVersion('1.1');
}
$this->headers->set('Cache-Control', 'no-cache');
parent::prepare($request);
return parent::prepare($request);
}
/**
* @{inheritdoc}
* {@inheritdoc}
*
* This method only sends the content once.
*/
@@ -106,7 +102,7 @@ class StreamedResponse extends Response
}
/**
* @{inheritdoc}
* {@inheritdoc}
*
* @throws \LogicException when the content is not null
*/
@@ -118,7 +114,7 @@ class StreamedResponse extends Response
}
/**
* @{inheritdoc}
* {@inheritdoc}
*
* @return false
*/