public function ResponseHeaderBagTest::provideMakeDisposition in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/ResponseHeaderBagTest.php \Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest::provideMakeDisposition()
File
- vendor/
symfony/ http-foundation/ Tests/ ResponseHeaderBagTest.php, line 273
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function provideMakeDisposition() {
return array(
array(
'attachment',
'foo.html',
'foo.html',
'attachment; filename="foo.html"',
),
array(
'attachment',
'foo.html',
'',
'attachment; filename="foo.html"',
),
array(
'attachment',
'foo bar.html',
'',
'attachment; filename="foo bar.html"',
),
array(
'attachment',
'foo "bar".html',
'',
'attachment; filename="foo \\"bar\\".html"',
),
array(
'attachment',
'foo%20bar.html',
'foo bar.html',
'attachment; filename="foo bar.html"; filename*=utf-8\'\'foo%2520bar.html',
),
array(
'attachment',
'föö.html',
'foo.html',
'attachment; filename="foo.html"; filename*=utf-8\'\'f%C3%B6%C3%B6.html',
),
);
}