Http-status-code-definitions is a project mainly written in PHP, it's free.
stop writing the same fucking switch all the time to get a definition string for a specific status code.
Ugh! I'm so tired of writing the same switch statement over and over to get a status code definition when I'm setting headers. There has got to be a better way!
ENTER http-status-code-definitions
Find the language of your choice and use the code. Don't see your language? Send me a pull request.
Together we'll never have to write the same fucking code again.
The status code definitions in this project were obtained from status_lines[] within http_protocol.c in the Apache source.