NAME

Test::HTTPStatus - check an HTTP status

SYNOPSIS

use Test::HTTPStatus tests => 2; use Apache::Constants qw(:http);

http_ok( 'http://www.perl.org', HTTP_OK );

http_ok( $url, $status );

DESCRIPTION

THIS IS ALPHA SOFTWARE.

Check the HTTP status for a resource.

FUNCTIONS

http_ok( URL [, HTTP_STATUS] )

Print the ok message if the URL's HTTP status matches the specified HTTP_STATUS. If you don't specify a status, it assumes you mean HTTP_OK (from Apache::Constants).

SEE ALSO

Apache::Constants, HTTP::SimpleLinkChecker

AUTHOR

brian d foy, <bdfoy@cpan.org>

COPYRIGHT

Copyright 2002, brian d foy, All Rights Reserved.

You may use, modify, and distribute this package under the same terms as Perl itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 111:

You forgot a '=back' before '=head1'