Trust X-Sendfile-Type header.
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;
}