Merge pull request #6736 from DaSourcerer/patch-1

Remove Content-Transfer-Encoding from the list of default download headers
This commit is contained in:
Qiang Xue
2015-01-06 18:35:57 -08:00
2 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,6 @@ class Response extends \yii\base\Response
->setDefault('Accept-Ranges', 'bytes')
->setDefault('Expires', '0')
->setDefault('Cache-Control', 'must-revalidate, post-check=0, pre-check=0')
->setDefault('Content-Transfer-Encoding', 'binary')
->setDefault('Content-Disposition', "$disposition; filename=\"$attachmentName\"");
if ($mimeType !== null) {