HTTP::...tStream(3pm)

NAME πŸ’–

okay so bestie, welcome to the HTTP::...tStream(3pm) page from the User Contributed Perl Documentation collection. The module is HTTP::Entity::Parser::OctetStream β€” it’s a parser for application/octet-stream, and it’s literally the default-parser main character. Slay. ✨

✨ SYNOPSIS ✨

Here’s the synopsis, copied exactly (yes, $uplaods and all β€” we do not edit code in this house 🫢):

           use HTTP::Entity::Parser;

           my $parser = HTTP::Entity::Parser->new;
           my ($params, $uplaods) = $parser->parse($env); # [] , []

That’s the whole flex: use HTTP::Entity::Parser, make a $parser with HTTP::Entity::Parser->new, then $parser->parse($env) gives you $params and $uplaods, and the comment right there is # [] , []. Cute. πŸ’…

🌸 DESCRIPTION 🌸

This is a parser class for application/octet-stream and other. (The original says β€œand other” and we are respectfully not inventing more, bestie.) It is used as the default parser.

OctetStream always returns an empty list. Always. Not sometimes. Always. Periodt. πŸ’…

πŸŽ€ 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.

πŸ‘‘ AUTHOR πŸ‘‘

  • Masahiro Nagano β€” <kazeburo@gmail.com>
  • Tokuhiro Matsuno β€” <tokuhirom@gmail.com>

πŸ’– aaaand that’s the whole page, bestie! this HTTP::...tStream(3pm) situation comes from perl v5.42.0, dated 2020-11-29. mwah, go slay πŸ’…βœ¨

πŸ“¦ where this page comes from