Named HTTP status codes
In the StatusCode class, all the status codes within the REASON_PHRASE constant have been extracted to named constants, allowing you to refer to status codes by name, such as StatusCode::OK.
In the StatusCode class, all the status codes within the REASON_PHRASE constant have been extracted to named constants, allowing you to refer to status codes by name, such as StatusCode::OK.