public function ResponseHeaderBagTest::provideAllPreserveCase in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/ResponseHeaderBagTest.php \Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::provideAllPreserveCase()
File
- vendor/
symfony/ http-foundation/ Tests/ ResponseHeaderBagTest.php, line 42
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function provideAllPreserveCase() {
return array(
array(
array(
'fOo' => 'BAR',
),
array(
'fOo' => array(
'BAR',
),
'Cache-Control' => array(
'no-cache',
),
),
),
array(
array(
'ETag' => 'xyzzy',
),
array(
'ETag' => array(
'xyzzy',
),
'Cache-Control' => array(
'private, must-revalidate',
),
),
),
array(
array(
'Content-MD5' => 'Q2hlY2sgSW50ZWdyaXR5IQ==',
),
array(
'Content-MD5' => array(
'Q2hlY2sgSW50ZWdyaXR5IQ==',
),
'Cache-Control' => array(
'no-cache',
),
),
),
array(
array(
'P3P' => 'CP="CAO PSA OUR"',
),
array(
'P3P' => array(
'CP="CAO PSA OUR"',
),
'Cache-Control' => array(
'no-cache',
),
),
),
array(
array(
'WWW-Authenticate' => 'Basic realm="WallyWorld"',
),
array(
'WWW-Authenticate' => array(
'Basic realm="WallyWorld"',
),
'Cache-Control' => array(
'no-cache',
),
),
),
array(
array(
'X-UA-Compatible' => 'IE=edge,chrome=1',
),
array(
'X-UA-Compatible' => array(
'IE=edge,chrome=1',
),
'Cache-Control' => array(
'no-cache',
),
),
),
array(
array(
'X-XSS-Protection' => '1; mode=block',
),
array(
'X-XSS-Protection' => array(
'1; mode=block',
),
'Cache-Control' => array(
'no-cache',
),
),
),
);
}