ApiProblem has a list of problem status titles that could easily be expanded to cover all valid status codes. This would leave the $problemStatusTitles property no longer providing status titles for just "common" problems, however.
My thinking is that since the list of HTTP status codes is relatively finite and not terribly long, then it would be reasonable to expand this list to be the same, more or less, as what we find $recommendedReasonPhrases in Zend\Http\Response.
ApiProblem
has a list of problem status titles that could easily be expanded to cover all valid status codes. This would leave the$problemStatusTitles
property no longer providing status titles for just "common" problems, however.My thinking is that since the list of HTTP status codes is relatively finite and not terribly long, then it would be reasonable to expand this list to be the same, more or less, as what we find
$recommendedReasonPhrases
inZend\Http\Response
.