Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix trailing space and bump version to 1.06

  • Loading branch information...
commit b19d16ab7884681490695ac7e06145c8e609a293 1 parent dd95ee1
@bingos authored
Showing with 4 additions and 4 deletions.
  1. +1 −1  dist.ini
  2. +3 −3 lib/POE/Filter/HTTP/Parser.pm
View
2  dist.ini
@@ -1,5 +1,5 @@
name = POE-Filter-HTTP-Parser
-version = 1.04
+version = 1.06
author = Chris Williams <chris@bingosnet.co.uk>
license = Perl_5
copyright_holder = Chris Williams, Artur Bergman and Rocco Caputo
View
6 lib/POE/Filter/HTTP/Parser.pm
@@ -36,7 +36,7 @@ sub get_one_start {
sub get_one {
my $self = shift;
my $events = [];
-
+
my $string = shift @{ $self->{BUFFER} };
return [] unless $string;
@@ -234,7 +234,7 @@ objects and convert them to HTTP streams.
With the C<type> set to C<server>, the reverse will happen. C<get> will parse L<HTTP::Request>
objects from HTTP streams and C<put> will accept L<HTTP::Response> objects and convert them to
HTTP streams. Like L<POE::Filter::HTTPD> if there is an error parsing the HTTP request, this
-filter will generate a L<HTTP::Response> object instead, to encapsulate the error message,
+filter will generate a L<HTTP::Response> object instead, to encapsulate the error message,
suitable for simply sending back to the requesting client.
=head1 CONSTRUCTOR
@@ -261,7 +261,7 @@ if C<type> is not specified.
=item C<get_one>
-Takes an arrayref which contains lines of text. Returns an arrayref of either
+Takes an arrayref which contains lines of text. Returns an arrayref of either
L<HTTP::Request> or L<HTTP::Response> objects depending on the C<type> that has been
specified.
Please sign in to comment.
Something went wrong with that request. Please try again.