Subject: | PATCH: HTTP::Status doesn't document how the methods correspond with the return codes |
It wasn't documented how is_error, is_redirect, etc corresponded with
the return codes. This patch fixes that.
Mark
Subject: | http-status.patch |
6c6
< require 5.002; # becase we use prototypes
---
> require 5.002; # because we use prototypes
126a127,128
> Informational Codes (is_info)
>
130a133,134
> Success Codes (is_success)
>
139a144,145
> Redirect Codes (is_redirect)
>
147a154,155
> Client Error Codes (is_client_error is_error)
>
169a178,179
> Server Error Codes (is_server_error is_error)
>
195c205
< any content.
---
> any content. See listing above for which are considered informational.
199c209
< Return TRUE if C<$code> is a I<Successful> status code.
---
> Return TRUE if C<$code> is a I<Successful> status code. See listing above for which are considered successful.
205c215
< user agent in order to fulfill the request.
---
> user agent in order to fulfill the request. See listing above for which are considered redirects.
210a221
> See listing above for which are considered errors.
217a229,230
> See listing above for which are considered client errors.
>
225a239,240
> See listing above for which are considered server errors.
>