public static function BinaryFileResponse::trustXSendfileTypeHeader in Zircon Profile 8
Same name and namespace in other branches
- 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\HttpFoundationCode
public static function trustXSendfileTypeHeader() {
self::$trustXSendfileTypeHeader = true;
}