Having const methods for http::StatusCode allows using them in a const context. It is useful when using the response method of the aide documentation crate for axum.
http::StatusCode