summaryrefslogtreecommitdiff
path: root/cpan/HTTP-Tiny/lib/HTTP
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/HTTP-Tiny/lib/HTTP')
-rw-r--r--cpan/HTTP-Tiny/lib/HTTP/Tiny.pm6
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