public function StreamedResponseTest::testPrepareWithHeadRequest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/StreamedResponseTest.php \Symfony\Component\HttpFoundation\Tests\StreamedResponseTest::testPrepareWithHeadRequest()
File
- vendor/
symfony/ http-foundation/ Tests/ StreamedResponseTest.php, line 51
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testPrepareWithHeadRequest() {
$response = new StreamedResponse(function () {
echo 'foo';
});
$request = Request::create('/', 'HEAD');
$response
->prepare($request);
}