dingo / api

A RESTful API package for the Laravel and Lumen frameworks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTTP Status Code Above 500

philipborbon opened this issue · comments

This line does not allow status code above 500.

if ($statusCode < 100 || $statusCode > 500) {

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

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

commented

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

commented

Fixed, tagged as v3.0.4