diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2013-11-18 19:16:26 +0000 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2013-11-18 19:16:26 +0000 |
commit | f2756cbb47e4bb872c6b9acc9ee0f67b30167864 (patch) | |
tree | 1f87eb008049a9ce1f46be2f478041933d2db20e /cpan/HTTP-Tiny/lib/HTTP/Tiny.pm | |
parent | e5411d1e697dbd2a9c54734aac44ac6189b517e0 (diff) | |
download | perl-f2756cbb47e4bb872c6b9acc9ee0f67b30167864.tar.gz |
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
Diffstat (limited to 'cpan/HTTP-Tiny/lib/HTTP/Tiny.pm')
-rw-r--r-- | cpan/HTTP-Tiny/lib/HTTP/Tiny.pm | 6 |
1 files changed, 3 insertions, 3 deletions
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 |