Update to Drupal 8.0-dev-2015-11-17. Commits through da81cd220, Tue Nov 17 15:53:49 2015 +0000, Issue #2617224 by Wim Leers: Move around/fix some documentation.
This commit is contained in:
parent
4afb23bbd3
commit
7784f4c23d
929 changed files with 19798 additions and 5304 deletions
vendor/symfony/http-kernel/HttpCache
1
vendor/symfony/http-kernel/HttpCache/Esi.php
vendored
1
vendor/symfony/http-kernel/HttpCache/Esi.php
vendored
|
@ -200,7 +200,6 @@ class Esi implements SurrogateInterface
|
|||
*/
|
||||
public function process(Request $request, Response $response)
|
||||
{
|
||||
$this->request = $request;
|
||||
$type = $response->headers->get('Content-Type');
|
||||
if (empty($type)) {
|
||||
$type = 'text/html';
|
||||
|
|
|
@ -24,8 +24,6 @@ use Symfony\Component\HttpFoundation\Response;
|
|||
* Cache provides HTTP caching.
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
class HttpCache implements HttpKernelInterface, TerminableInterface
|
||||
{
|
||||
|
@ -186,8 +184,6 @@ class HttpCache implements HttpKernelInterface, TerminableInterface
|
|||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
|
||||
{
|
||||
|
@ -216,7 +212,7 @@ class HttpCache implements HttpKernelInterface, TerminableInterface
|
|||
|
||||
$this->restoreResponseBody($request, $response);
|
||||
|
||||
$response->setDate(new \DateTime(null, new \DateTimeZone('UTC')));
|
||||
$response->setDate(\DateTime::createFromFormat('U', time(), new \DateTimeZone('UTC')));
|
||||
|
||||
if (HttpKernelInterface::MASTER_REQUEST === $type && $this->options['debug']) {
|
||||
$response->headers->set('X-Symfony-Cache', $this->getLog());
|
||||
|
@ -239,8 +235,6 @@ class HttpCache implements HttpKernelInterface, TerminableInterface
|
|||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function terminate(Request $request, Response $response)
|
||||
{
|
||||
|
|
1
vendor/symfony/http-kernel/HttpCache/Ssi.php
vendored
1
vendor/symfony/http-kernel/HttpCache/Ssi.php
vendored
|
@ -113,7 +113,6 @@ class Ssi implements SurrogateInterface
|
|||
*/
|
||||
public function process(Request $request, Response $response)
|
||||
{
|
||||
$this->request = $request;
|
||||
$type = $response->headers->get('Content-Type');
|
||||
if (empty($type)) {
|
||||
$type = 'text/html';
|
||||
|
|
Reference in a new issue