Skip to content
Get the text message associated with a given HTTP code
Raku
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/HTTP
t
.gitignore
.travis.yml
META6.json
README.md

README.md

Build Status

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

You can’t perform that action at this time.