NAME
Test::HTTPStatus - check an HTTP status
SYNOPSIS
use Test::HTTPStatus tests => 2;
use Apache::Constants qw(:http);
http_ok( 'https://www.perl.org', HTTP_OK );
http_ok( $url, $status );
DESCRIPTION
THIS IS AN ABANDONED MODULE. THERE IS NO SUPPORT. YOU CAN ADOPT IT IF YOU LIKE: https://pause.perl.org/pause/query?ACTION=pause_04about#takeover
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
SOURCE AVAILABILITY
This project is in GitHub:
https://github.com/CPAN-Adoptable-Modules/test-httpstatus
AUTHOR
brian d foy, <bdfoy@cpan.org>
COPYRIGHT AND LICENSE
Copyright © 2002-2019, brian d foy <bdfoy@cpan.org>. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.