dingo / api

A RESTful API package for the Laravel and Lumen frameworks.
BSD 3-Clause "New" or "Revised" License
9.32k stars 1.25k forks source link

HTTP Status Code Above 500 #1754

Closed philipborbon closed 3 years ago

philipborbon commented 3 years ago

This line does not allow status code above 500. https://github.com/dingo/api/blob/85866b76621d620fc8e1354e56a51ba0f082c9d8/src/Exception/Handler.php#L218

There's a whole range of status codes above 500.

What could be the reason 500+ is not allowed? 100 - 599 seems plausible.

specialtactics commented 3 years ago

@philipborbon Yep, I see what you mean, I will make it > 599

specialtactics commented 3 years ago

Fixed, tagged as v3.0.4