The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

AnyEvent::Net::Amazon::S3::HTTPRequest - Create a signed HTTP::Request

VERSION

version v0.02.0.58

SYNOPSIS

  my $http_request = AnyEvent::Net::Amazon::S3::HTTPRequest->new(
    s3      => $self->s3,
    method  => 'PUT',
    path    => $self->bucket . '/',
    headers => $headers,
    content => $content,
  )->http_request;

DESCRIPTION

This module creates an HTTP::Request object that is signed appropriately for Amazon S3, and the same as Net::Amazon::S3::HTTPRequest, except for its name.

METHODS

http_request

This method creates, signs and returns a HTTP::Request object.

query_string_authentication_uri

This method creates, signs and returns a query string authentication URI.

AUTHOR

Yasutaka ATARASHI <yakex@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Yasutaka ATARASHI.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.