Net-Async-Webservice-S3

 view release on metacpan or  search on metacpan

lib/Net/Async/Webservice/S3.pm  view on Meta::CPAN


sub _head_then_get_object
{
   my $self = shift;
   my %args = @_;

   my $if_match = $args{if_match};
   my $byte_range = $args{byte_range};

   # TODO: This doesn't handle retries correctly
   # But that said neither does the rest of this module, wrt: on_chunk streaming

   my $on_chunk = delete $args{on_chunk};

   my $header;
   my $head_future = $self->loop->new_future;
   my $value_future;
   my $value_len = 0;
   my $stall_failure_f;

   my $resume_on_stall = 1;



( run in 0.288 second using v1.01-cache-2.11-cpan-4d50c553e7e )