HTTP::Entity::Parser is PSGI compliant HTTP Entity parser. This module

also has compatibility with HTTP::Body. Unlike HTTP::Body, HTTP::Entity::Parser
reads HTTP entity from PSGI's env $env->{'psgi.input'} and parse it.
This module support application/x-www-form-urlencoded, multipart/form-data
and application/json.

WWW: http://search.mcpan.org/dist/HTTP-Entity-Parser/
This commit is contained in:
Wen Heping 2018-05-24 01:41:06 +00:00
parent 289b4720c1
commit a63830881e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=470754
5 changed files with 47 additions and 0 deletions

View File

@ -987,6 +987,7 @@
SUBDIR += p5-HTTP-Date
SUBDIR += p5-HTTP-Engine
SUBDIR += p5-HTTP-Engine-Middleware
SUBDIR += p5-HTTP-Entity-Parser
SUBDIR += p5-HTTP-Exception
SUBDIR += p5-HTTP-HeaderParser-XS
SUBDIR += p5-HTTP-Headers-Fast

View File

@ -0,0 +1,26 @@
# $FreeBSD$
PORTNAME= HTTP-Entity-Parser
PORTVERSION= 0.21
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= wen@FreeBSD.org
COMMENT= PSGI compliant HTTP Entity Parser
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= p5-JSON-MaybeXS>=0:converters/p5-JSON-MaybeXS \
p5-WWW-Form-UrlEncoded>=0.23:www/p5-WWW-Form-UrlEncoded \
p5-HTTP-MultiPartParser>=0:www/p5-HTTP-MultiPartParser \
p5-Hash-MultiValue>=0:devel/p5-Hash-MultiValue \
p5-Stream-Buffered>=0:devel/p5-Stream-Buffered
RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_ARCH= yes
USES= perl5
USE_PERL5= modbuildtiny
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1527153019
SHA256 (HTTP-Entity-Parser-0.21.tar.gz) = c14d3e42bdb0845eb412640ca5e396cbd52d3a9a616a5974a32a52cab487f8d8
SIZE (HTTP-Entity-Parser-0.21.tar.gz) = 23733

View File

@ -0,0 +1,7 @@
HTTP::Entity::Parser is PSGI compliant HTTP Entity parser. This module
also has compatibility with HTTP::Body. Unlike HTTP::Body, HTTP::Entity::Parser
reads HTTP entity from PSGI's env $env->{'psgi.input'} and parse it.
This module support application/x-www-form-urlencoded, multipart/form-data
and application/json.
WWW: http://search.mcpan.org/dist/HTTP-Entity-Parser/

View File

@ -0,0 +1,10 @@
%%SITE_PERL%%/HTTP/Entity/Parser.pm
%%SITE_PERL%%/HTTP/Entity/Parser/JSON.pm
%%SITE_PERL%%/HTTP/Entity/Parser/MultiPart.pm
%%SITE_PERL%%/HTTP/Entity/Parser/OctetStream.pm
%%SITE_PERL%%/HTTP/Entity/Parser/UrlEncoded.pm
%%PERL5_MAN3%%/HTTP::Entity::Parser.3.gz
%%PERL5_MAN3%%/HTTP::Entity::Parser::JSON.3.gz
%%PERL5_MAN3%%/HTTP::Entity::Parser::MultiPart.3.gz
%%PERL5_MAN3%%/HTTP::Entity::Parser::OctetStream.3.gz
%%PERL5_MAN3%%/HTTP::Entity::Parser::UrlEncoded.3.gz