Get the text message associated with a given HTTP code
Perl6
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/HTTP
t Fix removed @*INC Dec 5, 2015
.gitignore First version. Sep 30, 2011
.travis.yml
META.info
README First version. Sep 30, 2011

README

HTTP::Status -- Get the text message representing an HTTP status code.

This is a module that exports a single subroutine:

  get_http_status_msg()

It's usage is simple:

  get_http_status_msg($code);

Where $code is the numeric HTTP status code, such as 200 or 404.
It will return the text message that the code represents.

Author: Timothy Totten
License: Artistic License 2.0