Revision history for Net-GlobalPOPs-MediaServicesAPI
+0.02 unreleased
+ - update for Net::HTTPS::Any 0.10 without HTTP in response code
+
0.01 unreleased
- First version, released on an unsuspecting world.
+ First version, (not) released on an unsuspecting world.
use Data::Dumper;
use XML::Simple;
use XML::Writer;
-use Net::HTTPS::Any qw(https_post);
+use Net::HTTPS::Any qw( 0.10 https_post );
=head1 NAME
Net::GlobalPOPs::MediaServicesAPI - Interface to GlobalPOPs Media Services API
-=head1 VERSION
-
-Version 0.01
-
=cut
-our $VERSION = '0.01';
+our $VERSION = '0.02';
our $URL = 'https://www.loginto.us/VOIP/api.pl';
#could be parsed from URL, if it mattered...
our $HOST = 'www.loginto.us';
'debug' => $self->{'debug'},
);
- unless ( $response =~ /^HTTP\/[\d\.]+\s+200/i ) {
+ unless ( $response =~ /^200/i ) {
$self->{'errstr'} = $response;
return '';
}