You can use Test::HTTPStatus under the same terms as Perl itself.