Constants enumerating the HTTP status codes. All status codes defined in RFC1945 (HTTP/1.0, RFC2616 (HTTP/1.1), and RFC2518 (WebDAV) are supported.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
j3bb9z opened this issue 7 months ago · comments
Hi,
It would be useful to get constant name by status code:
getConstantNameByStatusCode(500) // 'INTERNAL_SERVER_ERROR'