This file documents the revision history for Perl extension HTTP::Body.
+1.01 2008-02-23 11:30:00
+ - Fixed performance issue with urlencoded regex.
+
1.00 2008-02-23 11:00:00
- Added support for chunked requests if no $length value is passed to new().
- Added support for XForms submissions. (Daniel Ruoso)
use Carp qw[ ];
-our $VERSION = '1.00';
+our $VERSION = '1.01';
our $TYPES = {
'application/octet-stream' => 'HTTP::Body::OctetStream',
# Note: s/// appears faster than tr///
$self->{buffer} =~ s/\+/ /g;
- for my $pair ( split( /&|;(?:\s+)?/, $self->{buffer} ) ) {
+ for my $pair ( split( /[&;](?:\s+)?/, $self->{buffer} ) ) {
my ( $name, $value ) = split( /=/, $pair , 2 );