use Compress::Raw::Zlib qw(Z_FINISH Z_OK);
my %OPT = (-WindowBits => 15 + 16, -AppendOutput => 1);
use Compress::Raw::Zlib qw(Z_FINISH Z_OK);
my %OPT = (-WindowBits => 15 + 16, -AppendOutput => 1);
my $body = $class->new($ctx, $cb);
# http://www.iana.org/assignments/media-types/application/gzip
my @h = qw(Content-Type application/gzip);
my $body = $class->new($ctx, $cb);
# http://www.iana.org/assignments/media-types/application/gzip
my @h = qw(Content-Type application/gzip);
my $mref = $ctx->{-inbox}->msg_by_smsg($smsg) or next;
my $h = Email::Simple->new($mref)->header_obj;
my $mref = $ctx->{-inbox}->msg_by_smsg($smsg) or next;
my $h = Email::Simple->new($mref)->header_obj;
# signal that we're done and can return undef next call:
delete $self->{ctx};
my $err = $gz->flush($buf, Z_FINISH);
# signal that we're done and can return undef next call:
delete $self->{ctx};
my $err = $gz->flush($buf, Z_FINISH);