diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2014-09-29 12:10:58 +0100 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2014-09-29 12:10:58 +0100 |
commit | 7b060fdbaf8c0d22e561dd8d9e4b1b147997e707 (patch) | |
tree | db32f40a5d1959ac9b721c1a4298b0006775f0a2 /cpan/HTTP-Tiny | |
parent | 4177cbcef9e372eb623af46b4ffaaf9ff1c147c4 (diff) | |
download | perl-7b060fdbaf8c0d22e561dd8d9e4b1b147997e707.tar.gz |
Update HTTP-Tiny to CPAN version 0.050
[DELTA]
0.050 2014-09-23 15:30:18-04:00 America/New_York
[FIXED]
- Fixed CONNECT requests for some proxies
Diffstat (limited to 'cpan/HTTP-Tiny')
-rw-r--r-- | cpan/HTTP-Tiny/lib/HTTP/Tiny.pm | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm b/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm index ef434f3536..95797d0580 100644 --- a/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm +++ b/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm @@ -3,7 +3,7 @@ package HTTP::Tiny; use strict; use warnings; # ABSTRACT: A small, simple, correct HTTP/1.1 client -our $VERSION = '0.049'; # VERSION +our $VERSION = '0.050'; # VERSION use Carp (); @@ -483,6 +483,7 @@ sub _request { method => $method, scheme => $scheme, host => $host, + port => $port, host_port => ($port == $DefaultPort{$scheme} ? $host : "$host:$port"), uri => $path_query, headers => {}, @@ -619,9 +620,9 @@ sub _create_proxy_tunnel { my $connect_request = { method => 'CONNECT', - uri => $request->{host_port}, + uri => "$request->{host}:$request->{port}", headers => { - host => $request->{host_port}, + host => "$request->{host}:$request->{port}", 'user-agent' => $agent, } }; @@ -1457,7 +1458,7 @@ HTTP::Tiny - A small, simple, correct HTTP/1.1 client =head1 VERSION -version 0.049 +version 0.050 =head1 SYNOPSIS @@ -2022,7 +2023,7 @@ David Golden <dagolden@cpan.org> =head1 CONTRIBUTORS -=for stopwords Alan Gardner James Raspass Jess Robinson Lukas Eklund Martin J. Evans Martin-Louis Bright Mike Doherty Petr Písař Serguei Trouchelle Syohei YOSHIDA Sören Kornetzki Alessandro Ghedini Tom Hukins Tony Cook Brad Gilbert Chris Nehren Weyl Claes Jakobsson Clinton Gormley Craig Berry David Mitchell Edward Zborowski +=for stopwords Alan Gardner Edward Zborowski James Raspass Jess Robinson Lukas Eklund Martin J. Evans Martin-Louis Bright Mike Doherty Petr Písař Serguei Trouchelle Syohei YOSHIDA Alessandro Ghedini Sören Kornetzki Tom Hukins Tony Cook Brad Gilbert Chris Nehren Weyl Claes Jakobsson Clinton Gormley Craig Berry David Mitchell Dean Pearce =over 4 @@ -2032,6 +2033,10 @@ Alan Gardner <gardner@pythian.com> =item * +Edward Zborowski <ed@rubensteintech.com> + +=item * + James Raspass <jraspass@gmail.com> =item * @@ -2068,11 +2073,11 @@ Syohei YOSHIDA <syohex@gmail.com> =item * -Sören Kornetzki <soeren.kornetzki@delti.com> +Alessandro Ghedini <al3xbio@gmail.com> =item * -Alessandro Ghedini <al3xbio@gmail.com> +Sören Kornetzki <soeren.kornetzki@delti.com> =item * @@ -2112,7 +2117,7 @@ David Mitchell <davem@iabyn.com> =item * -Edward Zborowski <ed@rubensteintech.com> +Dean Pearce <pearce@pythian.com> =back |