summaryrefslogtreecommitdiff
path: root/modules/image
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-04-01 17:08:55 -0400
committerDavid Rothstein <drothstein@gmail.com>2013-04-01 17:08:55 -0400
commitb927d876e96d30d858f28887a558261e13d2f822 (patch)
tree34991e54e05f103fe2f7de23fa3767d654712edf /modules/image
parent867ce3aa4d2c7b8521dd74298454756b958a78ba (diff)
downloadbrdo-b927d876e96d30d858f28887a558261e13d2f822.tar.gz
brdo-b927d876e96d30d858f28887a558261e13d2f822.tar.bz2
Issue #1229014 by bfroehle, jackbravo, illmasterc: Fixed Content-Disposition header makes private files show open/save prompts, but public files show inline.
Diffstat (limited to 'modules/image')
-rw-r--r--modules/image/image.test1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/image/image.test b/modules/image/image.test
index 917677046..8b79d851e 100644
--- a/modules/image/image.test
+++ b/modules/image/image.test
@@ -827,7 +827,6 @@ class ImageFieldDisplayTestCase extends ImageFieldTestCase {
// Only verify HTTP headers when using private scheme and the headers are
// sent by Drupal.
$this->assertEqual($this->drupalGetHeader('Content-Type'), 'image/png', t('Content-Type header was sent.'));
- $this->assertEqual($this->drupalGetHeader('Content-Disposition'), 'inline; filename="' . $test_image->filename . '"', t('Content-Disposition header was sent.'));
$this->assertEqual($this->drupalGetHeader('Cache-Control'), 'private', t('Cache-Control header was sent.'));
// Log out and try to access the file.