From f2756cbb47e4bb872c6b9acc9ee0f67b30167864 Mon Sep 17 00:00:00 2001 From: Chris 'BinGOs' Williams Date: Mon, 18 Nov 2013 19:16:26 +0000 Subject: Update HTTP-Tiny to CPAN version 0.038 [DELTA] 0.038 2013-11-18 12:56:26 America/New_York [FIXED] - Fixed a bug where authentication parameters in the URL would override an existing Authorization header --- cpan/HTTP-Tiny/lib/HTTP/Tiny.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpan/HTTP-Tiny/lib/HTTP/Tiny.pm') diff --git a/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm b/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm index b98e8bea31..0178d65929 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.037'; # VERSION +our $VERSION = '0.038'; # VERSION use Carp (); @@ -309,7 +309,7 @@ sub _prepare_headers_and_cb { } # if we have Basic auth parameters, add them - if ( length $auth && ! defined $request->{headers}{authentication} ) { + if ( length $auth && ! defined $request->{headers}{authorization} ) { require MIME::Base64; $request->{headers}{authorization} = "Basic " . MIME::Base64::encode_base64($auth, ""); @@ -1010,7 +1010,7 @@ HTTP::Tiny - A small, simple, correct HTTP/1.1 client =head1 VERSION -version 0.037 +version 0.038 =head1 SYNOPSIS -- cgit v1.2.1