You are here

public static function BinaryFileResponse::trustXSendfileTypeHeader in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/BinaryFileResponse.php \Symfony\Component\HttpFoundation\BinaryFileResponse::trustXSendfileTypeHeader()

Trust X-Sendfile-Type header.

2 calls to BinaryFileResponse::trustXSendfileTypeHeader()
BinaryFileResponseTest::testXAccelMapping in vendor/symfony/http-foundation/Tests/BinaryFileResponseTest.php
@dataProvider getSampleXAccelMappings
BinaryFileResponseTest::testXSendfile in vendor/symfony/http-foundation/Tests/BinaryFileResponseTest.php

File

vendor/symfony/http-foundation/BinaryFileResponse.php, line 303

Class

BinaryFileResponse
BinaryFileResponse represents an HTTP response delivering a file.

Namespace

Symfony\Component\HttpFoundation

Code

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