I have recently noticed two issues with Apache::Request and thought I'd
run them by the list before I began hacking and diffing for Doug.
1) $ar->param without parameters has different behaviour than CGI.pm
Apache::Request returns a reference, CGI.pm returns a list of
parameters.
The man pages show this:
my $value = $apr->param('foo');
my @values = $apr->param('foo');
my @params = $apr->param;
$apr->param('foo' => [qw(one two three)]);
I certainly read example 3 to mean that it operated as CGI.pm.
Are there any reasons not to handle this as CGI.pm would?
2) [Thu Jun 15 21:09:49 2000] [error] [client 10.50.2.57] [libapreq]
unknown content-type: `application/x-www-form-urlencoded;
charset=utf-8'
I suspect and hope that Apache::Request is just being a little
over-specific by looking for an exact match on
application/x-www-form-urlencoded. I don't see why it should have
difficulty passing in the straight 8 bit clean UTF-8 code. Then again,
I've been known to be massively optimistic on certain issues. :-)
I understand that there are many possible issues regarding 5.6, etc.
but I'm just looking for straight 8 bit binary characters here.
--
-- Tom Mornini
-- InfoMania Printing and Prepress