zend-http icon indicating copy to clipboard operation
zend-http copied to clipboard

`Zend\Http\Response\PhpEnvironment#sendHeaders()` silently returns - should scream and burn and demand for human sacrifices instead

Open Ocramius opened this issue 8 years ago • 1 comments

https://github.com/zendframework/zend-http/blob/b382c6e068a2d9c87b7cf0dfe78c6dd19e4ff197/src/PhpEnvironment/Response.php#L84

To reproduce (sorry if I couldn't do it myself right away - needs a @runInSeparateProcess test):

$response = new \Zend\Http\Response\PhpEnvironment();

echo 'foo;
ob_flush();

// expect an exception here
$response->sendHeaders();

Ocramius avatar Dec 13 '17 10:12 Ocramius

This repository has been closed and moved to laminas/laminas-http; a new issue has been opened at https://github.com/laminas/laminas-http/issues/5.

weierophinney avatar Dec 31 '19 22:12 weierophinney