Davis
src/Http/Middleware/HandleErrors.php
I think i found some mistake here, because when you have 404 page or whatelse it needs to send proper header status if is not sended its bad for seo and google robots because they will index 404 pages as real page.