Support the ongoing development of Laravel.io →

dennisbrandt

Joined 8 Jul 2015

Statistics

Threads 1
Replies 3
Solutions 0
Articles 0

L5.1.6 always returning a Status 200 OK header

No matter what I do, I always get a 200 OK status in response. Whether I get a Stack trace, a route...

0 Likes
7 Replies
replied 9 years ago

L5.1.6 always returning a Status 200 OK header

If I clear out the index.php and place return http_response_code(500); I still get a 200. What get'...

0 Likes
replied 9 years ago

L5.1.6 always returning a Status 200 OK header

I have reverted that file to it's original state, same issue. The route is not wrapped in any group,...

0 Likes
replied 9 years ago

L5.1.6 always returning a Status 200 OK header

Hi there Option 1. Route::get('test' , function(){ return \Response::make('message', 400); });...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.