The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Changes 06
META.json 23
META.yml 23
Makefile.PL 11
README 46
lib/HTTP/Tiny.pm 813
xt/author/pod-spell.t 03
7 files changed (This is a version diff) 1735
@@ -1,5 +1,11 @@
 Release notes for HTTP-Tiny
 
+0.050     2014-09-23 15:30:18-04:00 America/New_York
+
+    [FIXED]
+
+    - Fixed CONNECT requests for some proxies
+
 0.049     2014-09-02 11:20:07-04:00 America/New_York
 
     [FIXED]
@@ -95,7 +95,7 @@
    "provides" : {
       "HTTP::Tiny" : {
          "file" : "lib/HTTP/Tiny.pm",
-         "version" : "0.049"
+         "version" : "0.050"
       }
    },
    "release_status" : "stable",
@@ -110,7 +110,7 @@
          "web" : "https://github.com/chansen/p5-http-tiny"
       }
    },
-   "version" : "0.049",
+   "version" : "0.050",
    "x_authority" : "cpan:DAGOLDEN",
    "x_contributors" : [
       "Alan Gardner <gardner@pythian.com>",
@@ -122,6 +122,7 @@
       "Clinton Gormley <clint@traveljury.com>",
       "Craig Berry <cberry@cpan.org>",
       "David Mitchell <davem@iabyn.com>",
+      "Dean Pearce <pearce@pythian.com>",
       "Edward Zborowski <ed@rubensteintech.com>",
       "James Raspass <jraspass@gmail.com>",
       "Jess Robinson <castaway@desert-island.me.uk>",
@@ -36,7 +36,7 @@ no_index:
 provides:
   HTTP::Tiny:
     file: lib/HTTP/Tiny.pm
-    version: '0.049'
+    version: '0.050'
 recommends:
   HTTP::CookieJar: '0.001'
   IO::Socket::IP: '0.25'
@@ -57,7 +57,7 @@ resources:
   bugtracker: https://github.com/chansen/p5-http-tiny/issues
   homepage: https://github.com/chansen/p5-http-tiny
   repository: https://github.com/chansen/p5-http-tiny.git
-version: '0.049'
+version: '0.050'
 x_authority: cpan:DAGOLDEN
 x_contributors:
   - 'Alan Gardner <gardner@pythian.com>'
@@ -69,6 +69,7 @@ x_contributors:
   - 'Clinton Gormley <clint@traveljury.com>'
   - 'Craig Berry <cberry@cpan.org>'
   - 'David Mitchell <davem@iabyn.com>'
+  - 'Dean Pearce <pearce@pythian.com>'
   - 'Edward Zborowski <ed@rubensteintech.com>'
   - 'James Raspass <jraspass@gmail.com>'
   - 'Jess Robinson <castaway@desert-island.me.uk>'
@@ -43,7 +43,7 @@ my %WriteMakefileArgs = (
     "Test::More" => "0.96",
     "open" => 0
   },
-  "VERSION" => "0.049",
+  "VERSION" => "0.050",
   "test" => {
     "TESTS" => "t/*.t"
   }
@@ -2,7 +2,7 @@ NAME
     HTTP::Tiny - A small, simple, correct HTTP/1.1 client
 
 VERSION
-    version 0.049
+    version 0.050
 
 SYNOPSIS
         use HTTP::Tiny;
@@ -437,6 +437,8 @@ AUTHORS
 CONTRIBUTORS
     *   Alan Gardner <gardner@pythian.com>
 
+    *   Edward Zborowski <ed@rubensteintech.com>
+
     *   James Raspass <jraspass@gmail.com>
 
     *   Jess Robinson <castaway@desert-island.me.uk>
@@ -455,10 +457,10 @@ CONTRIBUTORS
 
     *   Syohei YOSHIDA <syohex@gmail.com>
 
-    *   Sören Kornetzki <soeren.kornetzki@delti.com>
-
     *   Alessandro Ghedini <al3xbio@gmail.com>
 
+    *   Sören Kornetzki <soeren.kornetzki@delti.com>
+
     *   Tom Hukins <tom@eborcom.com>
 
     *   Tony Cook <tony@develop-help.com>
@@ -477,7 +479,7 @@ CONTRIBUTORS
 
     *   David Mitchell <davem@iabyn.com>
 
-    *   Edward Zborowski <ed@rubensteintech.com>
+    *   Dean Pearce <pearce@pythian.com>
 
 COPYRIGHT AND LICENSE
     This software is copyright (c) 2014 by Christian Hansen.
@@ -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
 
@@ -44,6 +44,9 @@ Berry
 cberry
 Mitchell
 davem
+Dean
+Pearce
+pearce
 Edward
 Zborowski
 ed