- Sending SIGHUP to the dev server will now cause it to restart.
- Allow "0" for a path in uri_for.
- Performance improvements to uri_for by inlining encoding.
- - Updated HTTP::Body dependency to 0.8 to handle the case where IE sometimes
- sends an extra CRLF after a POST body.
+ - Updated HTTP::Body dependency to 0.9 which fixes the following issues:
+ * Handle when IE sometimes sends an extra CRLF after the POST body.
+ * Empty fields in multipart/form-data POSTs are no longer ignored.
+ * Uploaded files with the name "0" are no longer ignored.
5.7007 2007-03-13 14:18:00
- Performance and stability improvements to the built-in HTTP server.
requires 'Data::Dump';
requires 'File::Modified';
requires 'HTML::Entities';
-requires 'HTTP::Body' => '0.8';
+requires 'HTTP::Body' => '0.9';
requires 'HTTP::Headers' => '1.64';
requires 'HTTP::Request';
requires 'HTTP::Response';
use FindBin;
use lib "$FindBin::Bin/lib";
-use Test::More tests => 28;
+use Test::More tests => 29;
use Catalyst::Test 'TestApp';
use Catalyst::Request;
my $creq;
my $parameters = {
- 'a' => [qw(A b C d E f G)],
- '%' => [ '%', '"', '& - &' ],
+ 'a' => [qw(A b C d E f G)],
+ '%' => [ '%', '"', '& - &' ],
+ 'blank' => '',
};
my $request = POST(
my $creq;
my $parameters = {
- 'url' => 'http://www.google.com',
+ 'url' => 'http://www.google.com',
+ 'blank' => '',
};
my $request = POST( 'http://localhost/dump/request',
my $creq;
my $parameters = {
- a => 1,
+ a => 1,
+ blank => '',
};
my $request = POST(
ok( my $response = request($request), 'Request' );
ok( eval '$creq = ' . $response->content, 'Unserialize Catalyst::Request' );
is( $creq->{uri}->query, 'query_string', 'Catalyst::Request POST query_string' );
+ is_deeply( $creq->{parameters}, $parameters, 'Catalyst::Request parameters' );
ok( $response = request('http://localhost/dump/request/a/b?x=1&y=1&z=1'), 'Request' );
ok( eval '$creq = ' . $response->content, 'Unserialize Catalyst::Request' );