diff options
-rwxr-xr-x | Porting/Maintainers.pl | 2 | ||||
-rw-r--r-- | cpan/HTTP-Tiny/lib/HTTP/Tiny.pm | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 00728e9dda..0c73d10d67 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -984,7 +984,7 @@ use File::Glob qw(:case); 'HTTP::Tiny' => { 'MAINTAINER' => 'dagolden', - 'DISTRIBUTION' => 'DAGOLDEN/HTTP-Tiny-0.011.tar.gz', + 'DISTRIBUTION' => 'DAGOLDEN/HTTP-Tiny-0.012.tar.gz', 'FILES' => q[cpan/HTTP-Tiny], 'EXCLUDED' => [ 't/200_live.t', diff --git a/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm b/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm index 3ceabf9574..b4f6bd733c 100644 --- a/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm +++ b/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm @@ -9,7 +9,7 @@ # package HTTP::Tiny; BEGIN { - $HTTP::Tiny::VERSION = '0.011'; + $HTTP::Tiny::VERSION = '0.012'; } use strict; use warnings; @@ -62,6 +62,7 @@ sub mirror { my $tempfile = $file . int(rand(2**31)); open my $fh, ">", $tempfile or Carp::croak(qq/Error: Could not open temporary file $tempfile for downloading: $!/); + binmode $fh; $args->{data_callback} = sub { print {$fh} $_[0] }; my $response = $self->request('GET', $url, $args); close $fh @@ -759,7 +760,7 @@ HTTP::Tiny - A small, simple, correct HTTP/1.1 client =head1 VERSION -version 0.011 +version 0.012 =head1 SYNOPSIS @@ -1015,6 +1016,8 @@ always be set to C<close>. Direct C<https> connections are supported only if L<IO::Socket::SSL> is installed. There is no support for C<https> connections via proxy. +Any SSL certificate that matches the host is accepted -- SSL certificates +are not verified against certificate authorities. =item * |