1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
package HTTP::Entity::Parser::OctetStream;
use strict;
use warnings;
sub new {
bless [], $_[0];
}
sub add { }
sub finalize {
return ([],[]);
}
1;
__END__
=encoding utf-8
=head1 NAME
HTTP::Entity::Parser::OctetStream - parser for application/octet-stream
=head1 SYNOPSIS
use HTTP::Entity::Parser;
my $parser = HTTP::Entity::Parser->new;
my ($params, $uplaods) = $parser->parse($env); # [] , []
=head1 DESCRIPTION
This is a parser class for application/octet-stream and other.
This is used as default parser.
OctetStream always returns empty list.
=head1 LICENSE
Copyright (C) Masahiro Nagano.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=head1 AUTHOR
Masahiro Nagano E<lt>kazeburo@gmail.comE<gt>
Tokuhiro Matsuno E<lt>tokuhirom@gmail.comE<gt>
=cut
|