This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to tag 0.02 in repository libhttp-entity-parser-perl.
commit 1eda542a579161224c818383ff6516d3664423cd Author: Masahiro Nagano <kazeb...@gmail.com> Date: Thu Feb 6 11:24:58 2014 +0900 open with :unix --- META.json | 5 ++++- README.md | 2 +- t/02_http_body/multipart.t | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/META.json b/META.json index 1ef5f78..9ba06bd 100644 --- a/META.json +++ b/META.json @@ -74,5 +74,8 @@ "web" : "https://github.com/kazeburo/HTTP-Entity-Parser" } }, - "version" : "0.01" + "version" : "0.01", + "x_contributors" : [ + "moznion <mozn...@gmail.com>" + ] } diff --git a/README.md b/README.md index 6a44f03..2cf90c7 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ HTTP::Entity::Parser - PSGI compliant HTTP Entity Parser HTTP::Entity::Parser is PSGI compliant HTTP Entity parser. This module also has compatibility with [HTTP::Body](http://search.cpan.org/perldoc?HTTP::Body). Unlike HTTP::Body, HTTP::Entity::Parser reads HTTP entity from -PSGI's env `$env-`{'psgi.input'}> and parse it. +PSGI's env `$env->{'psgi.input'}` and parse it. This module support application/x-www-form-urlencoded, multipart/form-data and application/json. diff --git a/t/02_http_body/multipart.t b/t/02_http_body/multipart.t index c7e2a91..399d41a 100644 --- a/t/02_http_body/multipart.t +++ b/t/02_http_body/multipart.t @@ -13,7 +13,7 @@ for my $i ( 1..15 ) { my $test = sprintf( "%03d", $i ); my $headers = paml_loadfile( catfile( $path, "$test-headers.pml" ) ); - my $content = IO::File->new( catfile( $path, "$test-content.dat" ) ); + open(my $content, '<:unix', catfile( $path, "$test-content.dat" ) ); my $results; if ( -f catfile( $path, "$test-results.pml" ) ) { $results = paml_loadfile( catfile( $path, "$test-results.pml" ) ); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhttp-entity-parser-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits