public static function BinaryFileResponse::trustXSendfileTypeHeader

Trust X-Sendfile-Type header.

1 call to BinaryFileResponse::trustXSendfileTypeHeader()
BinaryFileResponseTest::testXSendfile in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/BinaryFileResponseTest.php

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/BinaryFileResponse.php, line 276

Class

BinaryFileResponse
BinaryFileResponse represents an HTTP response delivering a file.

Namespace

Symfony\Component\HttpFoundation

Code

public static function trustXSendfileTypeHeader() {
  self::$trustXSendfileTypeHeader = true;
}