https://github.com/zendframework/zend-http/issues/116 revealed that malformed HTTP request, in this case with header with empty value, leads to http request factory throwing exception.
Since it is happening early on during application bootstrap, it leads in turn to uncaught exception fatal error instead of proper 400 Bad Request response.
https://github.com/zendframework/zend-http/issues/116 revealed that malformed HTTP request, in this case with header with empty value, leads to http request factory throwing exception. Since it is happening early on during application bootstrap, it leads in turn to uncaught exception fatal error instead of proper
400 Bad Request
response.